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.0007548/0.0007548, allocations: 76.55 kB / 19.93 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.0008287/0.0008287, allocations: 177.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.9139/0.9139, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5944/0.5944, allocations: 114 MB / 373.9 MB, free: 8.719 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.673e-06/1.673e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.44e-05, allocations: 5.766 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005809/0.005834, allocations: 5.809 MB / 0.5599 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.009719, allocations: 3.082 MB / 0.5629 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.01012, allocations: 39.62 kB / 0.5629 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.01146, allocations: 0.9361 MB / 0.5638 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009601/0.01242, allocations: 0.4932 MB / 0.5643 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009255/0.01334, allocations: 497.5 kB / 0.5648 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00139/0.01473, allocations: 1.12 MB / 0.5659 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008934/0.01563, allocations: 0.51 MB / 0.5664 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000808/0.01644, allocations: 0.6077 MB / 0.567 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.01698, allocations: 426.8 kB / 0.5674 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.01707, allocations: 60 kB / 0.5674 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.01782, allocations: 450.7 kB / 0.5679 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.01807, allocations: 315.1 kB / 0.5682 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.01831, allocations: 271.3 kB / 0.5684 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.01952, allocations: 1.207 MB / 0.5696 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.01953, allocations: 0 / 0.5696 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/0.01953, allocations: 3.938 kB / 0.5696 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.585e-05/0.01955, allocations: 0 / 0.5696 GB, free: 2.93 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.001454/0.02101, allocations: 0.9909 MB / 0.5706 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.02106, allocations: 12.62 kB / 0.5706 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.935e-05/0.02115, allocations: 118.7 kB / 0.5707 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/0.02203, allocations: 220.2 kB / 0.5709 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.02269, allocations: 0.5197 MB / 0.5714 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.02272, allocations: 45.67 kB / 0.5715 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.0228, allocations: 60.38 kB / 0.5715 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.02384, allocations: 1.134 MB / 0.5726 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.02387, allocations: 16.08 kB / 0.5726 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.02391, allocations: 32.11 kB / 0.5727 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.249e-05/0.02399, allocations: 69.27 kB / 0.5727 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.02473, allocations: 0.6879 MB / 0.5734 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.02792, allocations: 4.491 MB / 0.5778 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.02846, allocations: 416.5 kB / 0.5782 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.02894, allocations: 388.5 kB / 0.5786 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.02897, allocations: 4 kB / 0.5786 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.029, allocations: 39.25 kB / 0.5786 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=41): time 2.014e-06/0.029, allocations: 0 / 0.5786 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42): time 0.002582/0.03158, allocations: 1.733 MB / 0.5803 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.03162, allocations: 59.34 kB / 0.5804 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.03196, allocations: 470.6 kB / 0.5808 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.03198, allocations: 33.7 kB / 0.5808 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.03215, allocations: 388.2 kB / 0.5812 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.03223, allocations: 158.6 kB / 0.5814 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.03234, allocations: 110.3 kB / 0.5815 GB, free: 6.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.03244, allocations: 362.8 kB / 0.5818 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.03267, allocations: 249.2 kB / 0.5821 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.033, allocations: 453 kB / 0.5825 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.03362, allocations: 0.7602 MB / 0.5832 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.03362, allocations: 4 kB / 0.5832 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001113/0.03473, allocations: 1.043 MB / 0.5842 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.03475, allocations: 8 kB / 0.5843 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.03477, allocations: 11.94 kB / 0.5843 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.03537, allocations: 323.4 kB / 0.5846 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.03556, allocations: 103.8 kB / 0.5847 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/0.04028, allocations: 7.066 MB / 0.5916 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.04059, allocations: 28.03 kB / 0.5916 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.04061, 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.0003013/0.04092, allocations: 245.6 kB / 0.5919 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.04098, allocations: 67.56 kB / 0.5919 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.04199, allocations: 0.8843 MB / 0.5928 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.042, allocations: 8 kB / 0.5928 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.042, allocations: 4 kB / 0.5928 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.04201, allocations: 3.984 kB / 0.5928 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.04366, allocations: 1.598 MB / 0.5944 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.04366, allocations: 0 / 0.5944 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.583e-05/0.04376, allocations: 43.97 kB / 0.5944 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/0.04425, allocations: 323.6 kB / 0.5947 GB, free: 7.961 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.04428, allocations: 8 kB / 0.5947 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004518/0.04879, allocations: 7.064 MB / 0.6016 GB, free: 436 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.0488, allocations: 4 kB / 0.6016 GB, free: 432 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.04983, allocations: 0.9844 MB / 0.6026 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.05, allocations: 103.5 kB / 0.6027 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.05004, allocations: 12 kB / 0.6027 GB, free: 15.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.05017, allocations: 15.98 kB / 0.6027 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.05027, allocations: 43.92 kB / 0.6028 GB, free: 15.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.05028, allocations: 8 kB / 0.6028 GB, free: 15.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004995/0.05078, allocations: 314.9 kB / 0.6031 GB, free: 14.91 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.05078, allocations: 0 / 0.6031 GB, free: 14.91 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005865/0.05137, allocations: 192 kB / 0.6032 GB, free: 14.72 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.00119/0.05256, allocations: 1.537 MB / 0.6047 GB, free: 13.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.05399, allocations: 1.164 MB / 0.6059 GB, free: 11.91 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.054, allocations: 0 / 0.6059 GB, free: 11.91 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007521/0.05475, allocations: 0.8399 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.0006524/0.0554, allocations: 204.6 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.006118/0.06152, allocations: 5.844 MB / 0.6126 GB, free: 4.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.06184, allocations: 394.8 kB / 0.613 GB, free: 4.25 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.06207, allocations: 105.2 kB / 0.6131 GB, free: 4.145 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.06226, allocations: 228.4 kB / 0.6133 GB, free: 3.922 MB / 0.573 GB Notification: Performance of SimCode: time 1.913e-06/0.06226, allocations: 0 / 0.6133 GB, free: 3.922 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.09769, allocations: 17.06 MB / 0.63 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.353, allocations: 0 / 0.63 GB, free: 3.262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.011922249570489] Failed to read output from testmodel.py, exit status != 0: 7.443126750178635 7.454504959 7.433043933 Calling exit ...