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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001626, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 177 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.587/2.587, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.098/1.098, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004293, allocations: 13.38 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0009418/0.2213, allocations: 311.1 kB / 0.557 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009206/0.2222, allocations: 317.4 kB / 0.5573 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.2222, allocations: 0 / 0.5573 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.2223, allocations: 0 / 0.5573 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.2223, allocations: 8 kB / 0.5573 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.2228, allocations: 67.78 kB / 0.5574 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.2228, allocations: 19.86 kB / 0.5574 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.2229, allocations: 0 / 0.5574 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.2229, allocations: 0 / 0.5574 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.223, allocations: 7.984 kB / 0.5574 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.223, allocations: 0 / 0.5574 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.2236, allocations: 259.6 kB / 0.5577 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.2236, allocations: 8 kB / 0.5577 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.2236, allocations: 25.7 kB / 0.5577 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.2238, allocations: 55.91 kB / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2238, allocations: 0 / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.2238, allocations: 0 / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.2238, allocations: 3.938 kB / 0.5578 GB, free: 10.62 MB / 430.1 MB 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.0003818/0.2242, allocations: 339.4 kB / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2243, allocations: 12.03 kB / 0.5581 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.2243, allocations: 34.55 kB / 0.5581 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.2244, allocations: 4 kB / 0.5581 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2246, allocations: 163.4 kB / 0.5583 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2246, allocations: 0 / 0.5583 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2246, allocations: 0 / 0.5583 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2248, allocations: 41.64 kB / 0.5583 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2248, allocations: 0 / 0.5583 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2248, allocations: 0 / 0.5583 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2248, allocations: 0 / 0.5583 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.2249, allocations: 7.938 kB / 0.5583 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.2251, allocations: 165.5 kB / 0.5585 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/0.2252, allocations: 18.61 kB / 0.5585 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009763/0.2261, allocations: 465.5 kB / 0.559 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.2262, allocations: 30.56 kB / 0.559 GB, free: 9.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.2262, allocations: 0 / 0.559 GB, free: 9.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006596/0.2269, allocations: 250.4 kB / 0.5592 GB, free: 8.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.2269, allocations: 51.41 kB / 0.5593 GB, free: 8.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.227, allocations: 98.08 kB / 0.5594 GB, free: 8.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.227, allocations: 29.7 kB / 0.5594 GB, free: 8.605 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.2271, allocations: 80.14 kB / 0.5595 GB, free: 8.523 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.2272, allocations: 19.78 kB / 0.5595 GB, free: 8.504 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2272, allocations: 0 / 0.5595 GB, free: 8.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2273, allocations: 314.8 kB / 0.5598 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.2273, allocations: 7.938 kB / 0.5598 GB, free: 8.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.2274, allocations: 13.84 kB / 0.5598 GB, free: 8.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.2274, allocations: 12 kB / 0.5598 GB, free: 8.148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2274, allocations: 0 / 0.5598 GB, free: 8.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000149/0.2276, allocations: 49.69 kB / 0.5599 GB, free: 8.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2276, allocations: 15.88 kB / 0.5599 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2277, allocations: 0 / 0.5599 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2277, allocations: 3.953 kB / 0.5599 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.2278, allocations: 15.92 kB / 0.5599 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.2278, allocations: 4 kB / 0.5599 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.2278, allocations: 4.062 kB / 0.5599 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2279, allocations: 0 / 0.5599 GB, free: 8.051 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.228, allocations: 113.8 kB / 0.56 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.228, allocations: 0 / 0.56 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.2282, allocations: 53.12 kB / 0.5601 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2282, allocations: 3.984 kB / 0.5601 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2283, allocations: 3.953 kB / 0.5601 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2283, allocations: 4.188 kB / 0.5601 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2284, allocations: 153.7 kB / 0.5602 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2285, allocations: 7.984 kB / 0.5602 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.756e-05/0.2285, allocations: 4 kB / 0.5602 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2285, allocations: 0 / 0.5602 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2286, allocations: 0 / 0.5602 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2286, allocations: 0 / 0.5602 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2286, allocations: 0 / 0.5602 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.2288, allocations: 89.02 kB / 0.5603 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.2289, allocations: 81.09 kB / 0.5604 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2289, allocations: 0 / 0.5604 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.229, allocations: 0 / 0.5604 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.229, allocations: 4 kB / 0.5604 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.229, allocations: 7.938 kB / 0.5604 GB, free: 7.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.418e-05/0.2291, allocations: 79.23 kB / 0.5605 GB, free: 7.348 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2291, allocations: 0 / 0.5605 GB, free: 7.348 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.2295, allocations: 27.98 kB / 0.5605 GB, free: 7.32 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006291/0.2301, allocations: 0.6329 MB / 0.5611 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.2302, allocations: 19.94 kB / 0.5612 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2303, allocations: 0 / 0.5612 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.2303, allocations: 7.984 kB / 0.5612 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.2305, allocations: 4.188 kB / 0.5612 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.2312, allocations: 0.5099 MB / 0.5617 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.2316, allocations: 0.6809 MB / 0.5623 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.2316, allocations: 16.11 kB / 0.5623 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.2317, allocations: 11.44 kB / 0.5624 GB, free: 5.332 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2317, allocations: 3.938 kB / 0.5624 GB, free: 5.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.489/2.721, allocations: 1.506 MB / 0.5638 GB, free: 4.02 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/2.721, allocations: 207.4 kB / 0.564 GB, free: 3.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.692/6.413, allocations: 3.938 kB / 0.564 GB, free: 3.773 MB / 430.1 MB (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/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --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) Environment - environmentSimulation: