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.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.000909/0.000909, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.00109/0.00109, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.9429/0.9429, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5593/0.5593, 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.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 1.734e-06/1.734e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.48e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002427/0.002452, allocations: 1.458 MB / 0.5556 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006133/0.003065, allocations: 362.7 kB / 0.556 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.003104, allocations: 0 / 0.556 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.003131, allocations: 0 / 0.556 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.003176, allocations: 7.922 kB / 0.556 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.003591, allocations: 115.6 kB / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.986e-05/0.003661, allocations: 31.86 kB / 0.5561 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.003753, allocations: 3.984 kB / 0.5561 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.003804, allocations: 8 kB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.565e-05/0.003839, allocations: 15.98 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003855, allocations: 4 kB / 0.5561 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.00412, allocations: 255.6 kB / 0.5564 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.004137, allocations: 11.92 kB / 0.5564 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.004157, allocations: 4 kB / 0.5564 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.004367, allocations: 139.6 kB / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.004371, allocations: 0 / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004372, allocations: 0 / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.004378, allocations: 0 / 0.5565 GB, free: 380 kB / 0.5105 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.000428/0.004806, allocations: 286 kB / 0.5568 GB, free: 60 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.004852, allocations: 12.62 kB / 0.5568 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.004887, allocations: 38.69 kB / 0.5569 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.004956, allocations: 0.9375 kB / 0.5569 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005088, allocations: 117.7 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.005101, allocations: 384 / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.00511, allocations: 384 / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.005285, allocations: 50.17 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.005292, allocations: 192 / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005303, allocations: 4.375 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.00531, allocations: 8.125 kB / 0.557 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.005405, allocations: 31.97 kB / 0.5571 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.005763, allocations: 216.1 kB / 0.5573 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.005875, allocations: 46.42 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.005927, allocations: 24.91 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/0.006271, allocations: 71.92 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.006296, allocations: 38.5 kB / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.006297, allocations: 0 / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002693/0.006566, allocations: 89.67 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.006599, allocations: 51.41 kB / 0.5576 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.006664, allocations: 109.8 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.006675, allocations: 25.7 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.006785, allocations: 88.09 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.006805, allocations: 7.938 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.006843, allocations: 17.7 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.006932, allocations: 314.8 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.006986, allocations: 11.98 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.219e-05/0.007028, allocations: 20.02 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.007115, allocations: 40.81 kB / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007117, allocations: 0 / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001294/0.007246, allocations: 77.5 kB / 0.5583 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.007264, allocations: 14.17 kB / 0.5583 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.00727, allocations: 0 / 0.5583 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.007284, allocations: 4.094 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.007346, allocations: 4.25 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.007352, allocations: 4 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.007375, allocations: 11.92 kB / 0.5583 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.00738, allocations: 4 kB / 0.5583 GB, free: 14.37 MB / 0.5261 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 5.177e-05/0.007432, allocations: 105.8 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.007457, allocations: 7.938 kB / 0.5584 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.007613, allocations: 81.27 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.007616, allocations: 0 / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.007621, allocations: 0 / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.007624, allocations: 0 / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.007746, allocations: 128.7 kB / 0.5586 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007748, allocations: 3.938 kB / 0.5586 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.007778, allocations: 8 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.00778, allocations: 3.938 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007788, allocations: 0 / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.007791, allocations: 3.984 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.007793, allocations: 0 / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.007943, allocations: 167.5 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.007951, allocations: 7.922 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.007962, allocations: 4 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.007998, allocations: 0 / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.008032, allocations: 11.92 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.008035, allocations: 0 / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.008065, allocations: 83.28 kB / 0.5589 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.008065, allocations: 0 / 0.5589 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001653/0.008231, allocations: 16.03 kB / 0.5589 GB, free: 13.68 MB / 0.5261 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.0004504/0.008681, allocations: 0.7123 MB / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.008823, allocations: 35.97 kB / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008825, allocations: 0 / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.008871, allocations: 32 kB / 0.5597 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.009159, allocations: 7.984 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.009565, allocations: 146.4 kB / 0.5598 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.009613, allocations: 63.34 kB / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.009636, allocations: 192 / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.009668, allocations: 8.5 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/0.009669, allocations: 0 / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.02595, allocations: 2.273 MB / 0.5621 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.83, allocations: 6.016 kB / 0.5621 GB, free: 10.45 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.424994342029095] Failed to read output from testmodel.py, exit status != 0: 6.911285840906203 6.921272968 6.915155607 Calling exit ...