Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0009425/0.0009425, 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.001131/0.001131, 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.9547/0.9547, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5961/0.5961, allocations: 114 MB / 373.9 MB, free: 8.715 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 4 kB / 0.5543 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.302e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001303/0.001326, allocations: 0.6029 MB / 0.5549 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005226/0.001849, allocations: 318.8 kB / 0.5552 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.001874, allocations: 0 / 0.5552 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.00189, allocations: 3.938 kB / 0.5552 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.633e-05/0.001916, allocations: 0 / 0.5552 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.002345, allocations: 123.5 kB / 0.5553 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.002411, allocations: 27.91 kB / 0.5553 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.002454, allocations: 7.984 kB / 0.5553 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.002511, allocations: 11.98 kB / 0.5553 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.002561, allocations: 7.938 kB / 0.5553 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.002577, allocations: 4 kB / 0.5553 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.002842, allocations: 263.6 kB / 0.5556 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.00286, allocations: 4 kB / 0.5556 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.002882, allocations: 15.92 kB / 0.5556 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.00308, allocations: 131.6 kB / 0.5557 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.003087, allocations: 4 kB / 0.5557 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.463e-06/0.003088, allocations: 0 / 0.5557 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.003093, allocations: 0 / 0.5557 GB, free: 1.223 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003886/0.003482, allocations: 286 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.00353, allocations: 12.56 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.003567, allocations: 38.75 kB / 0.5561 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.003623, allocations: 4.938 kB / 0.5561 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.003723, allocations: 105.8 kB / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.003734, allocations: 4.375 kB / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.00376, allocations: 8.375 kB / 0.5562 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.003914, allocations: 101.6 kB / 0.5563 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.003927, allocations: 4.141 kB / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.003938, allocations: 384 / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.003946, allocations: 4.125 kB / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.004, allocations: 23.92 kB / 0.5563 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.004165, allocations: 136.7 kB / 0.5564 GB, free: 392 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.00427, allocations: 54.56 kB / 0.5565 GB, free: 328 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.004308, allocations: 24.86 kB / 0.5565 GB, free: 300 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003871/0.004695, allocations: 83.91 kB / 0.5566 GB, free: 216 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.004722, allocations: 34.56 kB / 0.5566 GB, free: 172 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.004723, allocations: 0 / 0.5566 GB, free: 172 kB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.001049/0.005773, allocations: 451.6 kB / 0.5571 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.00581, allocations: 55.34 kB / 0.5571 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.005875, allocations: 101.8 kB / 0.5572 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.005887, allocations: 25.7 kB / 0.5572 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.005916, allocations: 84.14 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.005953, allocations: 47.58 kB / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.005994, allocations: 29.7 kB / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.006082, allocations: 310.8 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.45e-05/0.006117, allocations: 27.98 kB / 0.5577 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.006146, allocations: 23.98 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.912e-05/0.006225, allocations: 59.55 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.006229, allocations: 4 kB / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001266/0.006356, allocations: 101.6 kB / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.006373, allocations: 11.94 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.006379, allocations: 0 / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.006393, allocations: 96 / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.006481, allocations: 23.94 kB / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.006488, allocations: 7.984 kB / 0.5579 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.006501, allocations: 0 / 0.5579 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006508, allocations: 8 kB / 0.5579 GB, free: 14.71 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 (13): * Single equations (assignments): 13 * 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 6.279e-05/0.006571, allocations: 109.8 kB / 0.558 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.006589, allocations: 4 kB / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.006732, allocations: 115.4 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.006735, allocations: 0 / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.006741, allocations: 3.984 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.006744, allocations: 0 / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.007075, allocations: 317.6 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.007077, allocations: 3.938 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.689e-05/0.007164, allocations: 16 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.007169, allocations: 8 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.007178, allocations: 4 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.007181, allocations: 0 / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.007184, allocations: 3.984 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.007412, allocations: 219.4 kB / 0.5587 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.007441, allocations: 8.016 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.007457, allocations: 0 / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.00751, allocations: 8 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.007533, allocations: 11.92 kB / 0.5587 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.007542, allocations: 0 / 0.5587 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.007576, allocations: 87.34 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007576, allocations: 0 / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002321/0.007808, allocations: 39.92 kB / 0.5589 GB, free: 13.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.00062/0.008428, allocations: 0.8019 MB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.008573, allocations: 55.92 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.008576, allocations: 0 / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.008613, allocations: 31.92 kB / 0.5597 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.00879, allocations: 8.562 kB / 0.5597 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.009804, allocations: 1.403 MB / 0.5611 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.381e-05/0.009857, allocations: 71.34 kB / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.009922, allocations: 20.23 kB / 0.5612 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.009969, allocations: 16.5 kB / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.00997, allocations: 0 / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.03026, allocations: 3.13 MB / 0.5643 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/6.861, allocations: 6.562 kB / 0.5643 GB, free: 8.23 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.487992780283093] Failed to read output from testmodel.py, exit status != 0: 6.944281971082091 6.953569224 6.948541111 Calling exit ...