Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001259/0.001259, 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.0009294/0.0009294, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8663/0.8663, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.5718/0.5718, allocations: 114 MB / 373.9 MB, free: 8.699 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.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 0.5542 GB, free: 1.676 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.541e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003596/0.003612, allocations: 4.073 MB / 0.5582 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.005893, allocations: 2.302 MB / 0.5604 GB, free: 11.27 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.00605, allocations: 27.75 kB / 0.5604 GB, free: 11.24 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.006699, allocations: 378.1 kB / 0.5608 GB, free: 10.87 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.007225, allocations: 397.7 kB / 0.5612 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.007654, allocations: 330.4 kB / 0.5615 GB, free: 10.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005193/0.008173, allocations: 0.6983 MB / 0.5622 GB, free: 9.457 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.008455, allocations: 238 kB / 0.5624 GB, free: 9.223 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.00879, allocations: 363.1 kB / 0.5627 GB, free: 8.867 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.009029, allocations: 235.3 kB / 0.563 GB, free: 8.637 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.009062, allocations: 28 kB / 0.563 GB, free: 8.609 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.009417, allocations: 402.7 kB / 0.5634 GB, free: 8.215 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.009518, allocations: 147.5 kB / 0.5635 GB, free: 8.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.00962, allocations: 167.5 kB / 0.5637 GB, free: 7.906 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.01015, allocations: 0.7554 MB / 0.5644 GB, free: 7.148 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01015, allocations: 0 / 0.5644 GB, free: 7.148 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01015, allocations: 0 / 0.5644 GB, free: 7.148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.01016, allocations: 0 / 0.5644 GB, free: 7.148 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007106/0.01087, allocations: 0.7231 MB / 0.5651 GB, free: 6.395 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.0109, allocations: 8.625 kB / 0.5651 GB, free: 6.387 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.566e-05/0.01096, allocations: 78.72 kB / 0.5652 GB, free: 6.301 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.01161, allocations: 188.4 kB / 0.5654 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.01199, allocations: 372.9 kB / 0.5657 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.01201, allocations: 25.36 kB / 0.5658 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.01205, allocations: 32.36 kB / 0.5658 GB, free: 5.672 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.01261, allocations: 0.7343 MB / 0.5665 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01262, allocations: 8.125 kB / 0.5665 GB, free: 4.828 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.01265, allocations: 24.11 kB / 0.5665 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/0.0127, allocations: 55.91 kB / 0.5666 GB, free: 4.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.01314, allocations: 495.3 kB / 0.5671 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.01486, allocations: 3.187 MB / 0.5702 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008566/0.01572, allocations: 0.6009 MB / 0.5708 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.01586, allocations: 162.5 kB / 0.5709 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.01588, allocations: 4 kB / 0.5709 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.0159, allocations: 46.48 kB / 0.571 GB, free: 80 kB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.0159, allocations: 0 / 0.571 GB, free: 80 kB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001238/0.01714, allocations: 1.068 MB / 0.572 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.01718, allocations: 110.8 kB / 0.5721 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.01743, allocations: 413.7 kB / 0.5725 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.01745, allocations: 29.7 kB / 0.5725 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.01757, allocations: 284.2 kB / 0.5728 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.01763, allocations: 126.9 kB / 0.5729 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.01771, allocations: 102.2 kB / 0.573 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.0178, allocations: 350.8 kB / 0.5734 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.01796, allocations: 177.2 kB / 0.5735 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.0182, allocations: 376.2 kB / 0.5739 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.01863, allocations: 0.5902 MB / 0.5745 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01864, allocations: 8 kB / 0.5745 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006219/0.01926, allocations: 0.6777 MB / 0.5751 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01927, allocations: 8 kB / 0.5752 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01928, allocations: 4 kB / 0.5752 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.01947, allocations: 94.5 kB / 0.5752 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.01967, allocations: 111.8 kB / 0.5754 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.02152, allocations: 4.034 MB / 0.5793 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.02169, allocations: 31.97 kB / 0.5793 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.02171, allocations: 27.94 kB / 0.5794 GB, free: 6.879 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.02185, allocations: 196.8 kB / 0.5795 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.0219, allocations: 47.72 kB / 0.5796 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.0224, allocations: 0.5149 MB / 0.5801 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.0224, allocations: 11.88 kB / 0.5801 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.02241, allocations: 7.984 kB / 0.5801 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.02241, allocations: 3.984 kB / 0.5801 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.02345, allocations: 1.201 MB / 0.5813 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.02345, allocations: 4 kB / 0.5813 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.02356, allocations: 56.19 kB / 0.5813 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.02371, allocations: 102.4 kB / 0.5814 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.02372, allocations: 12 kB / 0.5815 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.02541, allocations: 4.011 MB / 0.5854 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.02542, allocations: 3.938 kB / 0.5854 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.02597, allocations: 0.7782 MB / 0.5861 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.02606, allocations: 79.62 kB / 0.5862 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.02609, allocations: 11.94 kB / 0.5862 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.02624, allocations: 27.97 kB / 0.5862 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.02629, allocations: 31.89 kB / 0.5863 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.0263, allocations: 12 kB / 0.5863 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001734/0.02647, allocations: 283.1 kB / 0.5866 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02647, allocations: 0 / 0.5866 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000387/0.02686, allocations: 123.9 kB / 0.5867 GB, free: 14.86 MB / 0.5105 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006788/0.02754, allocations: 1.323 MB / 0.588 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006787/0.02822, allocations: 0.7744 MB / 0.5887 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02822, allocations: 0 / 0.5887 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.02854, allocations: 0.5438 MB / 0.5893 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.02908, allocations: 130.7 kB / 0.5894 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.03235, allocations: 4.547 MB / 0.5938 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.03251, allocations: 272.3 kB / 0.5941 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.03267, allocations: 100.5 kB / 0.5942 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.03281, allocations: 156.4 kB / 0.5943 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.03281, allocations: 0 / 0.5943 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.05632, allocations: 11.21 MB / 0.6053 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.628, allocations: 4.969 kB / 0.6053 GB, free: 11.63 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.012063971720636] Failed to read output from testmodel.py, exit status != 0: 7.714669437147677 7.726367593 7.714451922 Calling exit ...