Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0008825/0.0008825, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008909/0.0008909, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9192/0.9192, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5559/0.5559, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.177e-05, allocations: 10 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004982/0.005004, allocations: 5.814 MB / 0.5599 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003912/0.008916, allocations: 3.071 MB / 0.5629 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.009335, allocations: 43.62 kB / 0.5629 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.01066, allocations: 0.9366 MB / 0.5638 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009247/0.01158, allocations: 0.497 MB / 0.5643 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009683/0.01255, allocations: 493.3 kB / 0.5648 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.01397, allocations: 1.127 MB / 0.5659 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007178/0.01468, allocations: 0.5061 MB / 0.5664 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009103/0.01559, allocations: 0.6077 MB / 0.567 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.01613, allocations: 430.8 kB / 0.5674 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.01625, allocations: 56 kB / 0.5674 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009222/0.01717, allocations: 458.6 kB / 0.5679 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.01746, allocations: 311.1 kB / 0.5682 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.01776, allocations: 271.3 kB / 0.5684 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.01932, allocations: 1.203 MB / 0.5696 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.01932, allocations: 0 / 0.5696 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01932, allocations: 0 / 0.5696 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.01934, allocations: 0 / 0.5696 GB, free: 2.938 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001563/0.0209, allocations: 0.9948 MB / 0.5706 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.02095, allocations: 8.625 kB / 0.5706 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.02109, allocations: 126.7 kB / 0.5707 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009642/0.02206, allocations: 220.2 kB / 0.5709 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.02269, allocations: 0.5159 MB / 0.5714 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.02272, allocations: 49.67 kB / 0.5715 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.0228, allocations: 64.31 kB / 0.5715 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009953/0.02379, allocations: 1.13 MB / 0.5726 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.02382, allocations: 12.08 kB / 0.5726 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.02386, allocations: 32.11 kB / 0.5727 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/0.02392, allocations: 73.27 kB / 0.5727 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.02461, allocations: 0.6917 MB / 0.5734 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.02753, allocations: 4.487 MB / 0.5778 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.02802, allocations: 410.1 kB / 0.5782 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.02847, allocations: 392.6 kB / 0.5786 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.0285, allocations: 8 kB / 0.5786 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.02852, allocations: 39.19 kB / 0.5786 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=41): time 3.918e-06/0.02852, allocations: 3.984 kB / 0.5786 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42): time 0.00235/0.03087, allocations: 1.729 MB / 0.5803 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.03091, allocations: 63.33 kB / 0.5804 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.03123, allocations: 466.6 kB / 0.5808 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.03125, allocations: 29.7 kB / 0.5808 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.03141, allocations: 388.2 kB / 0.5812 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/0.03148, allocations: 162.6 kB / 0.5814 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.03158, allocations: 106.3 kB / 0.5815 GB, free: 6.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.03168, allocations: 370.8 kB / 0.5818 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.03191, allocations: 245.1 kB / 0.5821 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.03222, allocations: 453 kB / 0.5825 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.03281, allocations: 0.7641 MB / 0.5832 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.03281, allocations: 4 kB / 0.5832 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001094/0.0339, allocations: 1.038 MB / 0.5842 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.03392, allocations: 8 kB / 0.5843 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.03393, allocations: 11.94 kB / 0.5843 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.03449, allocations: 320 kB / 0.5846 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.03466, allocations: 99.81 kB / 0.5847 GB, free: 2.832 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.03894, allocations: 7.07 MB / 0.5916 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.03916, allocations: 28.03 kB / 0.5916 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.03919, allocations: 24 kB / 0.5916 GB, free: 11.25 MB / 0.5573 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.03944, allocations: 253.5 kB / 0.5919 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.03949, allocations: 63.7 kB / 0.5919 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.04049, allocations: 0.8844 MB / 0.5928 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.0405, allocations: 8 kB / 0.5928 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.0405, allocations: 4 kB / 0.5928 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.04051, allocations: 3.984 kB / 0.5928 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.0421, allocations: 1.598 MB / 0.5944 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.04211, allocations: 4 kB / 0.5944 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.04219, allocations: 39.91 kB / 0.5944 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005017/0.04269, allocations: 315.3 kB / 0.5947 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.04271, allocations: 8 kB / 0.5947 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00413/0.04684, allocations: 7.069 MB / 0.6016 GB, free: 436 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.04685, allocations: 0 / 0.6016 GB, free: 436 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/0.04782, allocations: 0.9884 MB / 0.6026 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.04798, allocations: 107.5 kB / 0.6027 GB, free: 15.28 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.04801, allocations: 8 kB / 0.6027 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.04814, allocations: 23.98 kB / 0.6027 GB, free: 15.25 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.04823, allocations: 43.86 kB / 0.6028 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.04825, allocations: 16 kB / 0.6028 GB, free: 15.19 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003529/0.0486, allocations: 302.9 kB / 0.6031 GB, free: 14.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.0486, allocations: 4 kB / 0.6031 GB, free: 14.89 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005704/0.04917, allocations: 196 kB / 0.6032 GB, free: 14.7 MB / 0.573 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001125/0.0503, allocations: 1.53 MB / 0.6047 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.05142, allocations: 1.164 MB / 0.6059 GB, free: 11.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.05142, allocations: 4 kB / 0.6059 GB, free: 11.89 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000769/0.05219, allocations: 0.8319 MB / 0.6067 GB, free: 11.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.0528, allocations: 205.7 kB / 0.6069 GB, free: 10.83 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/0.05793, allocations: 5.849 MB / 0.6126 GB, free: 4.652 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.05823, allocations: 394.8 kB / 0.613 GB, free: 4.242 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000237/0.05847, allocations: 101.2 kB / 0.6131 GB, free: 4.141 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.05884, allocations: 228.4 kB / 0.6133 GB, free: 3.918 MB / 0.573 GB Notification: Performance of SimCode: time 1.523e-06/0.05884, allocations: 0 / 0.6133 GB, free: 3.918 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04158/0.1004, allocations: 17.05 MB / 0.6299 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.405, allocations: 11.78 kB / 0.63 GB, free: 3.258 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.978603037074208] Failed to read output from testmodel.py, exit status != 0: 7.4979293858632445 7.506545153 7.485257513 Calling exit ...