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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 105.6 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 63.91 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3967, allocations: 77.93 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001737/0.3985, allocations: 0.6091 MB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005782/0.3991, allocations: 352.3 kB / 0.5682 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.3991, allocations: 0.9375 kB / 0.5682 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.3991, allocations: 3.938 kB / 0.5682 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.919e-05/0.3992, allocations: 1.594 kB / 0.5682 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.3996, allocations: 118.8 kB / 0.5684 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.3997, allocations: 32.38 kB / 0.5684 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.3997, allocations: 7.531 kB / 0.5684 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.197e-05/0.3997, allocations: 6.125 kB / 0.5684 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.3998, allocations: 16.78 kB / 0.5684 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3998, allocations: 1.031 kB / 0.5684 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.4002, allocations: 274.5 kB / 0.5687 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.4002, allocations: 7.141 kB / 0.5687 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.4002, allocations: 17.5 kB / 0.5687 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.4004, allocations: 100.3 kB / 0.5688 GB, free: 31.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4004, allocations: 0.9688 kB / 0.5688 GB, free: 31.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4004, allocations: 0 / 0.5688 GB, free: 31.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.4004, allocations: 0 / 0.5688 GB, free: 31.93 MB / 446.1 MB 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.000337/0.4008, allocations: 361.8 kB / 0.5691 GB, free: 31.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4008, allocations: 9.562 kB / 0.5691 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.4009, allocations: 33.12 kB / 0.5692 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.4009, allocations: 10.03 kB / 0.5692 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.84e-05/0.401, allocations: 175 kB / 0.5694 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.401, allocations: 1.594 kB / 0.5694 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.401, allocations: 8.75 kB / 0.5694 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.4011, allocations: 51.52 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4012, allocations: 3.938 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.4012, allocations: 1.969 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4012, allocations: 5.141 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.4012, allocations: 19.86 kB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.4014, allocations: 163.5 kB / 0.5696 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.4015, allocations: 60.73 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.4015, allocations: 30.48 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005619/0.4021, allocations: 457.4 kB / 0.5701 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.4021, allocations: 37.88 kB / 0.5702 GB, free: 30.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4021, allocations: 0 / 0.5702 GB, free: 30.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001072/0.4032, allocations: 0.591 MB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.4032, allocations: 53.64 kB / 0.5708 GB, free: 29.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/0.4033, allocations: 94.61 kB / 0.5709 GB, free: 29.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.4033, allocations: 35.7 kB / 0.5709 GB, free: 29.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.4033, allocations: 81.77 kB / 0.571 GB, free: 29.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.4034, allocations: 38.88 kB / 0.571 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.4034, allocations: 28.95 kB / 0.5711 GB, free: 29.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.4035, allocations: 319.2 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.4035, allocations: 20.62 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.4036, allocations: 31.22 kB / 0.5714 GB, free: 29.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.4036, allocations: 58.89 kB / 0.5715 GB, free: 29.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4037, allocations: 0.7031 kB / 0.5715 GB, free: 29.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001327/0.4038, allocations: 96.98 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4038, allocations: 5.656 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4038, allocations: 1.031 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4038, allocations: 0.9688 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4039, allocations: 25.23 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.404, allocations: 1.125 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.404, allocations: 5.844 kB / 0.5716 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.404, allocations: 3.812 kB / 0.5716 GB, free: 29.21 MB / 446.1 MB 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 5.178e-05/0.404, allocations: 114.4 kB / 0.5717 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.4041, allocations: 11.81 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.4043, allocations: 110.1 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4043, allocations: 4.375 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4043, allocations: 0 / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4043, allocations: 4.125 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.4046, allocations: 349.9 kB / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4046, allocations: 0.9062 kB / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.4047, allocations: 28.8 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4047, allocations: 2.062 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4047, allocations: 3.156 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4047, allocations: 0 / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4047, allocations: 0.5625 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.405, allocations: 221.9 kB / 0.5724 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.405, allocations: 88.16 kB / 0.5725 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.405, allocations: 2.078 kB / 0.5725 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.4051, allocations: 5.984 kB / 0.5725 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.4051, allocations: 8.156 kB / 0.5725 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.4051, allocations: 3.359 kB / 0.5725 GB, free: 28.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.949e-05/0.4052, allocations: 77.72 kB / 0.5726 GB, free: 28.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4052, allocations: 4.531 kB / 0.5726 GB, free: 28.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.4054, allocations: 48.7 kB / 0.5726 GB, free: 28.32 MB / 446.1 MB 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.0004635/0.4059, allocations: 0.7962 MB / 0.5734 GB, free: 27.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.4061, allocations: 69.75 kB / 0.5735 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4061, allocations: 2.438 kB / 0.5735 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.4061, allocations: 33.42 kB / 0.5735 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.4064, allocations: 6.984 kB / 0.5735 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.4073, allocations: 1.392 MB / 0.5749 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.4074, allocations: 0.6867 MB / 0.5756 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.635e-05/0.4075, allocations: 10.73 kB / 0.5756 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.4075, allocations: 16.73 kB / 0.5756 GB, free: 25.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4075, allocations: 1 kB / 0.5756 GB, free: 25.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.4284, allocations: 2.449 MB / 0.578 GB, free: 25.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.741, allocations: 11.98 kB / 0.578 GB, free: 25.31 MB / 446.1 MB (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 --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)