Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0008297/0.0008297, 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.0008179/0.0008179, 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.9309/0.9309, 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.5772/0.5772, allocations: 114 MB / 373.9 MB, free: 8.68 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.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.659e-05, allocations: 6.109 kB / 0.5542 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001183/0.001209, allocations: 0.5976 MB / 0.5548 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005061/0.001715, allocations: 310.8 kB / 0.5551 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.001738, allocations: 0 / 0.5551 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.001753, allocations: 0 / 0.5551 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 1.993e-05/0.001773, allocations: 4 kB / 0.5551 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.002171, allocations: 119.5 kB / 0.5552 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.002224, allocations: 7.984 kB / 0.5553 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.002265, allocations: 4 kB / 0.5553 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.002295, allocations: 7.938 kB / 0.5553 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.002359, allocations: 7.984 kB / 0.5553 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.002374, allocations: 0 / 0.5553 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.002636, allocations: 263.6 kB / 0.5555 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.002649, allocations: 4 kB / 0.5555 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.002664, allocations: 0 / 0.5555 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.00283, allocations: 119.7 kB / 0.5556 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002832, allocations: 4 kB / 0.5556 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.173e-06/0.002833, allocations: 0 / 0.5556 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.002837, allocations: 0 / 0.5556 GB, free: 1.285 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003029/0.00314, allocations: 270.1 kB / 0.5559 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.003183, allocations: 8.625 kB / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.003213, allocations: 30.75 kB / 0.5559 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.003262, allocations: 4.938 kB / 0.5559 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.918e-05/0.003351, allocations: 113.8 kB / 0.5561 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.00336, allocations: 384 / 0.5561 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.003381, allocations: 4.375 kB / 0.5561 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.003482, allocations: 67.89 kB / 0.5561 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.003489, allocations: 192 / 0.5561 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.003498, allocations: 4.359 kB / 0.5561 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.003503, allocations: 4.125 kB / 0.5561 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.003525, allocations: 4 kB / 0.5561 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.003663, allocations: 128.7 kB / 0.5563 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.003713, allocations: 18.61 kB / 0.5563 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.003727, allocations: 8.859 kB / 0.5563 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.004082, allocations: 87.91 kB / 0.5564 GB, free: 424 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.004102, allocations: 30.56 kB / 0.5564 GB, free: 384 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.004104, allocations: 4 kB / 0.5564 GB, free: 380 kB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004127/0.004516, allocations: 177.2 kB / 0.5566 GB, free: 168 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.004544, allocations: 51.41 kB / 0.5566 GB, free: 104 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.75e-05/0.004592, allocations: 93.86 kB / 0.5567 GB, free: 0 / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.004615, allocations: 25.7 kB / 0.5567 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.004638, allocations: 80.14 kB / 0.5568 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.004662, allocations: 23.83 kB / 0.5568 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.004686, allocations: 13.72 kB / 0.5568 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.004763, allocations: 315.2 kB / 0.5571 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.004777, allocations: 8 kB / 0.5572 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.0048, allocations: 21.7 kB / 0.5572 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.726e-05/0.004838, allocations: 29.66 kB / 0.5572 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.004839, allocations: 0 / 0.5572 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.524e-05/0.004904, allocations: 49.69 kB / 0.5572 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.004915, allocations: 4 kB / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.00492, allocations: 0 / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.004932, allocations: 3.938 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.34e-05/0.004976, allocations: 19.94 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.00498, allocations: 0 / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.004991, allocations: 0 / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.004997, allocations: 4 kB / 0.5573 GB, free: 15.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.15e-05/0.005049, allocations: 109.8 kB / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.005061, allocations: 4 kB / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-05/0.00515, allocations: 57.31 kB / 0.5574 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.005153, allocations: 3.938 kB / 0.5574 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.005157, allocations: 4 kB / 0.5574 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.00516, allocations: 0 / 0.5574 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.634e-05/0.005236, allocations: 128.7 kB / 0.5576 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005237, allocations: 0 / 0.5576 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.005273, allocations: 7.938 kB / 0.5576 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.005275, allocations: 4 kB / 0.5576 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-06/0.00528, allocations: 0 / 0.5576 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.005283, allocations: 7.938 kB / 0.5576 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005283, allocations: 0 / 0.5576 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.005386, allocations: 77.16 kB / 0.5577 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.005391, allocations: 3.984 kB / 0.5577 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.005401, allocations: 4.297 kB / 0.5577 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.00542, allocations: 7.875 kB / 0.5577 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.005432, allocations: 4 kB / 0.5577 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.005436, allocations: 3.984 kB / 0.5577 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.147e-05/0.005457, allocations: 79.28 kB / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005457, allocations: 0 / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000146/0.005603, allocations: 27.92 kB / 0.5578 GB, free: 14.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003119/0.005915, allocations: 0.6358 MB / 0.5584 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.005984, allocations: 20.14 kB / 0.5584 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.005986, allocations: 3.938 kB / 0.5584 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.005997, allocations: 8 kB / 0.5584 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.006105, allocations: 7.938 kB / 0.5584 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.006795, allocations: 1.127 MB / 0.5595 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.006832, allocations: 67.28 kB / 0.5596 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.028e-05/0.006852, allocations: 192 / 0.5596 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.00688, allocations: 16.5 kB / 0.5596 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.00688, allocations: 0 / 0.5596 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.02261, allocations: 2.388 MB / 0.562 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/6.596, allocations: 4.188 kB / 0.562 GB, free: 10.54 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.154427853412926] Failed to read output from testmodel.py, exit status != 0: 6.674202107824385 6.684470196 6.680036741 Calling exit ...