Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0007336/0.0007336, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008016/0.0008016, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8685/0.8685, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7367/0.7367, allocations: 154.6 MB / 413.7 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.089e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008673/0.008694, allocations: 10.18 MB / 0.628 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.01905, allocations: 8.39 MB / 0.6362 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.02045, allocations: 75.31 kB / 0.6363 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.02272, allocations: 1.663 MB / 0.6379 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004029/0.02675, allocations: 1.619 MB / 0.6395 GB, free: 7.684 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.02833, allocations: 0.6817 MB / 0.6402 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.03087, allocations: 2.364 MB / 0.6425 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.03241, allocations: 1.149 MB / 0.6436 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.03445, allocations: 1.391 MB / 0.645 GB, free: 2.047 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.03601, allocations: 0.8998 MB / 0.6458 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.03624, allocations: 140 kB / 0.646 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.03751, allocations: 0.7482 MB / 0.6467 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004391/0.03795, allocations: 0.5997 MB / 0.6473 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006199/0.03857, allocations: 0.6039 MB / 0.6479 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.04105, allocations: 2.613 MB / 0.6504 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.04105, allocations: 0 / 0.6504 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.04106, allocations: 0 / 0.6504 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.447e-05/0.04113, allocations: 0 / 0.6504 GB, free: 12.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003212/0.04434, allocations: 1.979 MB / 0.6524 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.04439, allocations: 8.031 kB / 0.6524 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.04457, allocations: 190.1 kB / 0.6526 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005406/0.04998, allocations: 2.063 MB / 0.6546 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.05177, allocations: 1.133 MB / 0.6557 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.05181, allocations: 82.7 kB / 0.6558 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.05199, allocations: 120.3 kB / 0.6559 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/0.05554, allocations: 2.889 MB / 0.6587 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.05557, allocations: 11.94 kB / 0.6587 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.05569, allocations: 44 kB / 0.6587 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.05589, allocations: 134 kB / 0.6589 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.06005, allocations: 2.541 MB / 0.6614 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008/0.06805, allocations: 7.635 MB / 0.6688 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.07117, allocations: 1.85 MB / 0.6706 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.0726, allocations: 0.9388 MB / 0.6715 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.07264, allocations: 4.5 kB / 0.6715 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.07267, allocations: 47.06 kB / 0.6716 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.07267, allocations: 0 / 0.6716 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81): time 0.3009/0.3735, allocations: 8.628 MB / 0.68 GB, free: 96.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3736, allocations: 62.47 kB / 0.6801 GB, free: 96.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009271/0.3745, allocations: 1.112 MB / 0.6812 GB, free: 96.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.3746, allocations: 43.67 kB / 0.6812 GB, free: 96.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.3749, allocations: 0.7508 MB / 0.6819 GB, free: 95.49 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.375, allocations: 287.2 kB / 0.6822 GB, free: 95.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.3752, allocations: 201.5 kB / 0.6824 GB, free: 95.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.3753, allocations: 350.3 kB / 0.6827 GB, free: 94.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.3768, allocations: 1.073 MB / 0.6838 GB, free: 94.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.3782, allocations: 1.308 MB / 0.6851 GB, free: 94.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/0.3812, allocations: 2.379 MB / 0.6874 GB, free: 93.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3812, allocations: 2.844 kB / 0.6874 GB, free: 93.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004589/0.3858, allocations: 3.252 MB / 0.6906 GB, free: 92.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3858, allocations: 9 kB / 0.6906 GB, free: 92.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3858, allocations: 12.03 kB / 0.6906 GB, free: 92.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.3872, allocations: 0.7927 MB / 0.6913 GB, free: 91.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009623/0.3882, allocations: 419.5 kB / 0.6917 GB, free: 91.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008308/0.3965, allocations: 14.97 MB / 0.7064 GB, free: 79.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.3979, allocations: 293.3 kB / 0.7066 GB, free: 79.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.398, allocations: 51 kB / 0.7067 GB, free: 79.73 MB / 0.6355 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0006057/0.3986, allocations: 397.7 kB / 0.7071 GB, free: 79.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.3987, allocations: 155.6 kB / 0.7072 GB, free: 79.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/0.4031, allocations: 3.175 MB / 0.7103 GB, free: 78.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4031, allocations: 8 kB / 0.7103 GB, free: 78.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4031, allocations: 8.281 kB / 0.7103 GB, free: 78.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4031, allocations: 5.953 kB / 0.7103 GB, free: 78.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/0.4093, allocations: 4.618 MB / 0.7149 GB, free: 76.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.4093, allocations: 2.281 kB / 0.7149 GB, free: 76.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/0.4101, allocations: 356.1 kB / 0.7152 GB, free: 76.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.4114, allocations: 0.6944 MB / 0.7159 GB, free: 76.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.4115, allocations: 31.75 kB / 0.7159 GB, free: 76.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009139/0.4206, allocations: 14.59 MB / 0.7302 GB, free: 64.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.4206, allocations: 7.781 kB / 0.7302 GB, free: 64.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/0.4262, allocations: 3.012 MB / 0.7331 GB, free: 63.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.4273, allocations: 315.8 kB / 0.7334 GB, free: 63.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4274, allocations: 21.62 kB / 0.7334 GB, free: 63.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.4285, allocations: 291.7 kB / 0.7337 GB, free: 63.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.4288, allocations: 89.02 kB / 0.7338 GB, free: 63.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.137e-05/0.4289, allocations: 40.36 kB / 0.7338 GB, free: 63.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008962/0.4298, allocations: 0.737 MB / 0.7345 GB, free: 62.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4298, allocations: 1.375 kB / 0.7346 GB, free: 62.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001316/0.4311, allocations: 430.2 kB / 0.735 GB, free: 62.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004978/0.4361, allocations: 3.591 MB / 0.7385 GB, free: 61.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005151/0.4413, allocations: 3.509 MB / 0.7419 GB, free: 59.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.547e-06/0.4413, allocations: 1.344 kB / 0.7419 GB, free: 59.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.4442, allocations: 2.323 MB / 0.7442 GB, free: 58.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.4461, allocations: 0.5186 MB / 0.7447 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/0.4682, allocations: 15.84 MB / 0.7601 GB, free: 50.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/0.4689, allocations: 0.8025 MB / 0.7609 GB, free: 50.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001136/0.4701, allocations: 380.3 kB / 0.7613 GB, free: 50.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.4705, allocations: 0.6 MB / 0.7619 GB, free: 49.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.343e-06/0.4705, allocations: 4 kB / 0.7619 GB, free: 49.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05461/0.5251, allocations: 45.6 MB / 0.8064 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/8.149, allocations: 3.984 kB / 0.8064 GB, free: 6.418 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.889213015325367] Failed to read output from testmodel.py, exit status != 0: 8.25178029667586 8.260688231 8.218019956 Calling exit ...