Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001637/0.001637, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.001694/0.001694, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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 1.086/1.086, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.08/2.08, allocations: 0.5046 GB / 0.8104 GB, free: 2.734 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.84 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.7993, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008726/0.808, allocations: 10.34 MB / 1.363 GB, free: 7.293 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.008913/0.8169, allocations: 8.5 MB / 1.371 GB, free: 14.77 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008917/0.8178, allocations: 91.25 kB / 1.371 GB, free: 14.68 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.8201, allocations: 1.667 MB / 1.373 GB, free: 13.01 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.8234, allocations: 1.569 MB / 1.374 GB, free: 11.44 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.8247, allocations: 0.6744 MB / 1.375 GB, free: 10.76 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.8266, allocations: 2.287 MB / 1.377 GB, free: 8.465 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.8277, allocations: 1.137 MB / 1.378 GB, free: 7.289 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.8288, allocations: 1.184 MB / 1.379 GB, free: 6.102 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008136/0.8297, allocations: 0.9256 MB / 1.38 GB, free: 5.172 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.8298, allocations: 136 kB / 1.38 GB, free: 5.039 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009813/0.8308, allocations: 0.7369 MB / 1.381 GB, free: 4.301 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.8311, allocations: 0.5724 MB / 1.382 GB, free: 3.727 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.8316, allocations: 0.723 MB / 1.382 GB, free: 3 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.8333, allocations: 2.572 MB / 1.385 GB, free: 428 kB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8333, allocations: 0 / 1.385 GB, free: 428 kB / 1.057 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8333, allocations: 0 / 1.385 GB, free: 428 kB / 1.057 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.8333, allocations: 3.938 kB / 1.385 GB, free: 424 kB / 1.057 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.001935/0.8353, allocations: 1.987 MB / 1.387 GB, free: 14.38 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.8353, allocations: 8.922 kB / 1.387 GB, free: 14.38 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.8355, allocations: 190.1 kB / 1.387 GB, free: 14.18 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005308/0.8408, allocations: 2.059 MB / 1.389 GB, free: 12.12 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.842, allocations: 1.13 MB / 1.39 GB, free: 10.94 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.8421, allocations: 86.7 kB / 1.39 GB, free: 10.85 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.8422, allocations: 111.9 kB / 1.39 GB, free: 10.74 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.8454, allocations: 2.697 MB / 1.393 GB, free: 7.848 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.8454, allocations: 7.938 kB / 1.393 GB, free: 7.84 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.8455, allocations: 55.98 kB / 1.393 GB, free: 7.785 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.8457, allocations: 126.1 kB / 1.393 GB, free: 7.66 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.8494, allocations: 2.545 MB / 1.396 GB, free: 5.105 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006525/0.8559, allocations: 7.698 MB / 1.403 GB, free: 13.23 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.8589, allocations: 1.844 MB / 1.405 GB, free: 11.38 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.8603, allocations: 0.9503 MB / 1.406 GB, free: 10.43 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.8603, allocations: 4.438 kB / 1.406 GB, free: 10.42 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.8603, allocations: 42.98 kB / 1.406 GB, free: 10.37 MB / 1.089 GB Notification: Performance of pre-optimization done (n=53): time 2.164e-06/0.8603, allocations: 0 / 1.406 GB, free: 10.37 MB / 1.089 GB Notification: Performance of matching and sorting (n=81): time 0.0152/0.8755, allocations: 9.114 MB / 1.415 GB, free: 1.219 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.8756, allocations: 64 kB / 1.415 GB, free: 1.141 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.8764, allocations: 1.108 MB / 1.416 GB, free: 16 kB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.8765, allocations: 41.7 kB / 1.416 GB, free: 15.97 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.8768, allocations: 0.759 MB / 1.417 GB, free: 15.2 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.877, allocations: 293.5 kB / 1.417 GB, free: 14.91 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.8773, allocations: 198.5 kB / 1.417 GB, free: 14.71 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.8774, allocations: 345.9 kB / 1.417 GB, free: 14.37 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.8789, allocations: 1.079 MB / 1.418 GB, free: 13.29 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.8807, allocations: 1.317 MB / 1.42 GB, free: 11.88 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.884, allocations: 2.409 MB / 1.422 GB, free: 9.375 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.884, allocations: 4 kB / 1.422 GB, free: 9.371 MB / 1.104 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00461/0.8886, allocations: 3.289 MB / 1.425 GB, free: 6.051 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.8886, allocations: 8 kB / 1.425 GB, free: 6.043 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.8886, allocations: 8 kB / 1.425 GB, free: 6.035 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.8902, allocations: 0.8576 MB / 1.426 GB, free: 5.152 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.8911, allocations: 411.3 kB / 1.427 GB, free: 4.75 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009644/0.9007, allocations: 15.2 MB / 1.441 GB, free: 4.625 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.9018, allocations: 295.6 kB / 1.442 GB, free: 4.336 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.9019, allocations: 55.95 kB / 1.442 GB, free: 4.281 MB / 1.12 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.0005303/0.9024, allocations: 397.4 kB / 1.442 GB, free: 3.883 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.9025, allocations: 147.1 kB / 1.442 GB, free: 3.738 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/0.9072, allocations: 3.222 MB / 1.445 GB, free: 492 kB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.9072, allocations: 8 kB / 1.445 GB, free: 484 kB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.9072, allocations: 8 kB / 1.445 GB, free: 476 kB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9072, allocations: 3.984 kB / 1.445 GB, free: 472 kB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006158/0.9134, allocations: 4.687 MB / 1.45 GB, free: 11.66 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.9134, allocations: 3.938 kB / 1.45 GB, free: 11.66 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/0.9141, allocations: 359.3 kB / 1.45 GB, free: 11.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.9154, allocations: 0.7681 MB / 1.451 GB, free: 10.51 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.9155, allocations: 31.95 kB / 1.451 GB, free: 10.48 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008815/0.9243, allocations: 14.82 MB / 1.466 GB, free: 10.74 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9243, allocations: 0 / 1.466 GB, free: 10.74 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004287/0.9286, allocations: 3.067 MB / 1.469 GB, free: 7.59 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.929, allocations: 318.8 kB / 1.469 GB, free: 7.277 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.9291, allocations: 16 kB / 1.469 GB, free: 7.262 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008873/0.93, allocations: 295.4 kB / 1.469 GB, free: 6.973 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.9302, allocations: 84.44 kB / 1.469 GB, free: 6.891 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/0.9303, allocations: 39.91 kB / 1.469 GB, free: 6.852 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006683/0.9309, allocations: 0.7444 MB / 1.47 GB, free: 6.105 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9309, allocations: 4 kB / 1.47 GB, free: 6.102 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001103/0.932, allocations: 440 kB / 1.47 GB, free: 5.672 MB / 1.151 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.004429/0.9365, allocations: 3.632 MB / 1.474 GB, free: 1.945 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004453/0.9409, allocations: 3.547 MB / 1.478 GB, free: 14.29 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9409, allocations: 0 / 1.478 GB, free: 14.29 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.9434, allocations: 2.344 MB / 1.48 GB, free: 11.85 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.9446, allocations: 0.5223 MB / 1.48 GB, free: 11.35 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/0.9641, allocations: 16.25 MB / 1.496 GB, free: 10.67 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.9647, allocations: 0.802 MB / 1.497 GB, free: 9.824 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0008547/0.9655, allocations: 375.9 kB / 1.497 GB, free: 9.453 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.9661, allocations: 0.5969 MB / 1.498 GB, free: 8.855 MB / 1.182 GB Notification: Performance of SimCode: time 1.443e-06/0.9661, allocations: 0 / 1.498 GB, free: 8.855 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/1.094, allocations: 46.13 MB / 1.543 GB, free: 11.6 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.88, allocations: 7.375 kB / 1.543 GB, free: 11.59 MB / 1.229 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.223518039099872]