Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000949/0.000949, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8899/0.8899, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7205/0.7205, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/2.009e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006351/0.006371, allocations: 6.375 MB / 0.6243 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003465/0.009836, allocations: 3.001 MB / 0.6272 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.01019, allocations: 35.69 kB / 0.6272 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.01146, allocations: 0.9597 MB / 0.6282 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008687/0.01233, allocations: 0.5396 MB / 0.6287 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.01308, allocations: 429.5 kB / 0.6291 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.0141, allocations: 1.263 MB / 0.6303 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006842/0.01478, allocations: 0.5217 MB / 0.6309 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007329/0.01551, allocations: 0.6741 MB / 0.6315 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.01612, allocations: 470.7 kB / 0.632 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.01622, allocations: 64 kB / 0.632 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.01687, allocations: 347.1 kB / 0.6324 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.01714, allocations: 339 kB / 0.6327 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.01743, allocations: 315.2 kB / 0.633 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.01851, allocations: 1.238 MB / 0.6342 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.01851, allocations: 0 / 0.6342 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01851, allocations: 0 / 0.6342 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.01853, allocations: 0 / 0.6342 GB, free: 13.14 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001596/0.02013, allocations: 1.1 MB / 0.6353 GB, free: 12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.02018, allocations: 13.47 kB / 0.6353 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.02029, allocations: 130.6 kB / 0.6354 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000897/0.02119, allocations: 244 kB / 0.6356 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/0.02184, allocations: 0.5107 MB / 0.6361 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.02187, allocations: 49.67 kB / 0.6362 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.02194, allocations: 68.31 kB / 0.6362 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.02301, allocations: 1.336 MB / 0.6376 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.02303, allocations: 192 / 0.6376 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.02309, allocations: 40.11 kB / 0.6376 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.965e-05/0.02319, allocations: 89.25 kB / 0.6377 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007857/0.02397, allocations: 0.7503 MB / 0.6384 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.02721, allocations: 4.616 MB / 0.6429 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.02787, allocations: 0.5136 MB / 0.6434 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.02816, allocations: 289.7 kB / 0.6437 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.02819, allocations: 8.5 kB / 0.6437 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.02821, allocations: 35.06 kB / 0.6437 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.02821, allocations: 0 / 0.6437 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.00228/0.03049, allocations: 1.689 MB / 0.6454 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.03053, allocations: 63.91 kB / 0.6454 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.03096, allocations: 0.574 MB / 0.646 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.03099, allocations: 33.7 kB / 0.646 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.03118, allocations: 416.1 kB / 0.6464 GB, free: 120 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.945e-05/0.03128, allocations: 182.6 kB / 0.6466 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.03141, allocations: 130.6 kB / 0.6467 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.03152, allocations: 370.8 kB / 0.6471 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.03179, allocations: 273.8 kB / 0.6473 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.03216, allocations: 492.9 kB / 0.6478 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.03285, allocations: 0.8201 MB / 0.6486 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.03286, allocations: 4 kB / 0.6486 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001155/0.03401, allocations: 1.066 MB / 0.6497 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.03403, allocations: 16.09 kB / 0.6497 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.03404, allocations: 8 kB / 0.6497 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/0.03455, allocations: 283.2 kB / 0.65 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.03481, allocations: 127.7 kB / 0.6501 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/0.03891, allocations: 6.678 MB / 0.6566 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.0392, allocations: 35.97 kB / 0.6566 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.03923, allocations: 28 kB / 0.6567 GB, free: 4.949 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.03946, allocations: 254.6 kB / 0.6569 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.03953, allocations: 79.47 kB / 0.657 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009613/0.04049, allocations: 0.8784 MB / 0.6578 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.04049, allocations: 4 kB / 0.6578 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.0405, allocations: 7.938 kB / 0.6578 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.0405, allocations: 7.922 kB / 0.6579 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.04212, allocations: 1.599 MB / 0.6594 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.04213, allocations: 0 / 0.6594 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.04226, allocations: 59.89 kB / 0.6595 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/0.04267, allocations: 263.4 kB / 0.6597 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.0427, allocations: 19.92 kB / 0.6597 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.04652, allocations: 6.667 MB / 0.6663 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.04652, allocations: 4.031 kB / 0.6663 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/0.04746, allocations: 0.9936 MB / 0.6672 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.04762, allocations: 115.5 kB / 0.6673 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.04766, allocations: 12 kB / 0.6674 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.04785, allocations: 27.97 kB / 0.6674 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.04794, allocations: 43.86 kB / 0.6674 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.04796, allocations: 16 kB / 0.6674 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002772/0.04824, allocations: 383.1 kB / 0.6678 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.04824, allocations: 4 kB / 0.6678 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000525/0.04876, allocations: 224 kB / 0.668 GB, free: 8.691 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.04987, allocations: 1.534 MB / 0.6695 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.05109, allocations: 1.229 MB / 0.6707 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.05109, allocations: 0 / 0.6707 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007548/0.05185, allocations: 0.8697 MB / 0.6716 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.05246, allocations: 221.5 kB / 0.6718 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2334/0.2859, allocations: 6.342 MB / 0.678 GB, free: 94.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.2862, allocations: 415.2 kB / 0.6784 GB, free: 94.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003113/0.2865, allocations: 122.4 kB / 0.6785 GB, free: 94.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.2866, allocations: 251.9 kB / 0.6787 GB, free: 94.51 MB / 0.6355 GB Notification: Performance of SimCode: time 1.323e-06/0.2867, allocations: 0 / 0.6787 GB, free: 94.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.3254, allocations: 19.31 MB / 0.6976 GB, free: 92.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/7.893, allocations: 9.031 kB / 0.6976 GB, free: 92.36 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.573561984114349] Failed to read output from testmodel.py, exit status != 0: 7.984726483002305 7.994781644 7.974299077 Calling exit ...