Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 119.9 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8675/0.8675, allocations: 129.2 MB / 432.5 MB, free: 13.45 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.84 kB / 0.5987 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4342, allocations: 83.45 MB / 0.6802 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002689/0.4369, allocations: 1.442 MB / 0.6816 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007547/0.4377, allocations: 392.3 kB / 0.682 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.4377, allocations: 0 / 0.682 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.4377, allocations: 5.094 kB / 0.682 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.4378, allocations: 3.938 kB / 0.682 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.4382, allocations: 109.3 kB / 0.6821 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.4382, allocations: 24.8 kB / 0.6821 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.4383, allocations: 2.625 kB / 0.6821 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.4384, allocations: 19.83 kB / 0.6821 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.809e-05/0.4384, allocations: 11.16 kB / 0.6821 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.4384, allocations: 6.125 kB / 0.6821 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.4388, allocations: 276.5 kB / 0.6824 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.4388, allocations: 5.266 kB / 0.6824 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.4388, allocations: 14.52 kB / 0.6824 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.439, allocations: 102.2 kB / 0.6825 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.439, allocations: 1.125 kB / 0.6825 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.439, allocations: 0 / 0.6825 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.439, allocations: 0 / 0.6825 GB, free: 4.184 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004203/0.4395, allocations: 367.4 kB / 0.6829 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4395, allocations: 8.812 kB / 0.6829 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.4395, allocations: 39.69 kB / 0.6829 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.4396, allocations: 2.906 kB / 0.6829 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.4397, allocations: 170.2 kB / 0.6831 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4397, allocations: 1.031 kB / 0.6831 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.4397, allocations: 1.25 kB / 0.6831 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4399, allocations: 50.23 kB / 0.6831 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4399, allocations: 11.92 kB / 0.6831 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.4399, allocations: 1.094 kB / 0.6831 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4399, allocations: 0 / 0.6831 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.44, allocations: 39.05 kB / 0.6832 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.4403, allocations: 254.7 kB / 0.6834 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.4404, allocations: 43.62 kB / 0.6835 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.4405, allocations: 21.62 kB / 0.6835 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.4411, allocations: 469.3 kB / 0.6839 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4411, allocations: 31.72 kB / 0.684 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4411, allocations: 0 / 0.684 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003676/0.4415, allocations: 89.88 kB / 0.684 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.4415, allocations: 51.41 kB / 0.6841 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.4415, allocations: 109.5 kB / 0.6842 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.4416, allocations: 30.92 kB / 0.6842 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.4416, allocations: 85.39 kB / 0.6843 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.4416, allocations: 5.359 kB / 0.6843 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.4416, allocations: 10.97 kB / 0.6843 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.4417, allocations: 320 kB / 0.6846 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.4417, allocations: 14.3 kB / 0.6846 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/0.4418, allocations: 21.48 kB / 0.6847 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4419, allocations: 39.84 kB / 0.6847 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4419, allocations: 3.938 kB / 0.6847 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001744/0.4421, allocations: 66.67 kB / 0.6848 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4421, allocations: 4.281 kB / 0.6848 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4421, allocations: 1.219 kB / 0.6848 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4422, allocations: 4.094 kB / 0.6848 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.4422, allocations: 14.11 kB / 0.6848 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4422, allocations: 0 / 0.6848 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.4423, allocations: 8.484 kB / 0.6848 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.4423, allocations: 0 / 0.6848 GB, free: 1.781 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.4423, allocations: 116.3 kB / 0.6849 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.4424, allocations: 1.312 kB / 0.6849 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.4426, allocations: 80.84 kB / 0.685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4426, allocations: 0 / 0.685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4426, allocations: 1.031 kB / 0.685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4426, allocations: 0 / 0.685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.4427, allocations: 166.7 kB / 0.6852 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.4427, allocations: 5 kB / 0.6852 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.4428, allocations: 9.953 kB / 0.6852 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4428, allocations: 0 / 0.6852 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4428, allocations: 1.094 kB / 0.6852 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4428, allocations: 4.031 kB / 0.6852 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4428, allocations: 1.344 kB / 0.6852 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.443, allocations: 164 kB / 0.6853 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.443, allocations: 78.33 kB / 0.6854 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.443, allocations: 5.281 kB / 0.6854 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.4431, allocations: 11.33 kB / 0.6854 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.4431, allocations: 5 kB / 0.6854 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.4431, allocations: 0.9688 kB / 0.6854 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.4432, allocations: 87.98 kB / 0.6855 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4432, allocations: 0 / 0.6855 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002311/0.4434, allocations: 17.03 kB / 0.6855 GB, free: 1.031 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004409/0.4438, allocations: 0.7135 MB / 0.6862 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.444, allocations: 45.2 kB / 0.6863 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.444, allocations: 0 / 0.6863 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.4441, allocations: 15.42 kB / 0.6863 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.4444, allocations: 14.88 kB / 0.6863 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.4448, allocations: 142.4 kB / 0.6864 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.4452, allocations: 0.6786 MB / 0.6871 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.4452, allocations: 1.219 kB / 0.6871 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.4452, allocations: 8.906 kB / 0.6871 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.4452, allocations: 0 / 0.6871 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.4712, allocations: 1.607 MB / 0.6887 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.545, allocations: 5.984 kB / 0.6887 GB, free: 14.54 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.015746400691569] Failed to read output from testmodel.py, exit status != 0: 8.615416131913662 8.64143907 8.197708348 Calling exit ...