Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7262/0.7262, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001991/0.001991, allocations: 183.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.1 MB / 404.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 86.47 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.925e-05/4.927e-05, allocations: 8 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1757, allocations: 76.74 MB / 0.6283 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6234/0.7992, allocations: 102.6 MB / 0.7285 GB, free: 10.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.7995, allocations: 84 kB / 0.7286 GB, free: 10.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0141/0.8136, allocations: 4.875 MB / 0.7333 GB, free: 6.594 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8136, allocations: 3.938 kB / 0.7333 GB, free: 6.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.8136, allocations: 0 / 0.7333 GB, free: 6.59 MB / 490.7 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.0003744/0.814, allocations: 346.4 kB / 0.7336 GB, free: 6.207 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.8141, allocations: 8.031 kB / 0.7337 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.8141, allocations: 37.69 kB / 0.7337 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.8142, allocations: 7.953 kB / 0.7337 GB, free: 6.148 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.8144, allocations: 163.1 kB / 0.7339 GB, free: 5.949 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.8144, allocations: 11.92 kB / 0.7339 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.8144, allocations: 0 / 0.7339 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.8145, allocations: 37.52 kB / 0.7339 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.8145, allocations: 0 / 0.7339 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.8146, allocations: 0 / 0.7339 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8146, allocations: 0 / 0.7339 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.8146, allocations: 11.89 kB / 0.7339 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.8148, allocations: 148 kB / 0.7341 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.8148, allocations: 26.61 kB / 0.7341 GB, free: 5.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.8149, allocations: 7.984 kB / 0.7341 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/0.8155, allocations: 461.5 kB / 0.7345 GB, free: 5.109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.8156, allocations: 30.56 kB / 0.7346 GB, free: 5.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8156, allocations: 0 / 0.7346 GB, free: 5.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005485/0.8161, allocations: 249.7 kB / 0.7348 GB, free: 4.785 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.8162, allocations: 51.41 kB / 0.7348 GB, free: 4.723 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.8163, allocations: 97.11 kB / 0.7349 GB, free: 4.621 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.8163, allocations: 29.64 kB / 0.735 GB, free: 4.586 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.8164, allocations: 80.14 kB / 0.735 GB, free: 4.504 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.8164, allocations: 7.156 kB / 0.735 GB, free: 4.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.8164, allocations: 4 kB / 0.7351 GB, free: 4.496 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.8165, allocations: 314.8 kB / 0.7354 GB, free: 4.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.8166, allocations: 7.375 kB / 0.7354 GB, free: 4.176 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.8166, allocations: 17.83 kB / 0.7354 GB, free: 4.152 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.279e-05/0.8166, allocations: 15.81 kB / 0.7354 GB, free: 4.141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.8166, allocations: 0 / 0.7354 GB, free: 4.141 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.328e-05/0.8167, allocations: 53.25 kB / 0.7354 GB, free: 4.086 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.8168, allocations: 8 kB / 0.7354 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8168, allocations: 0 / 0.7354 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.8168, allocations: 0 / 0.7354 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.8169, allocations: 8 kB / 0.7355 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.8169, allocations: 0 / 0.7355 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.8169, allocations: 4.469 kB / 0.7355 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.8169, allocations: 0 / 0.7355 GB, free: 4.066 MB / 490.7 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 () * 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 8.042e-05/0.817, allocations: 108.9 kB / 0.7356 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.817, allocations: 7.844 kB / 0.7356 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.8172, allocations: 63.73 kB / 0.7356 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.8172, allocations: 0 / 0.7356 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8172, allocations: 4 kB / 0.7356 GB, free: 3.879 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.8172, allocations: 4 kB / 0.7356 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.8173, allocations: 157.5 kB / 0.7358 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8173, allocations: 0 / 0.7358 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.8174, allocations: 4 kB / 0.7358 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8174, allocations: 0 / 0.7358 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.8174, allocations: 0 / 0.7358 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8174, allocations: 3.984 kB / 0.7358 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8174, allocations: 0 / 0.7358 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.8176, allocations: 95.61 kB / 0.7359 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.8177, allocations: 77.11 kB / 0.736 GB, free: 3.469 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.8177, allocations: 0 / 0.736 GB, free: 3.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.945e-05/0.8177, allocations: 8.031 kB / 0.736 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.8177, allocations: 0 / 0.736 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.8177, allocations: 3.125 kB / 0.736 GB, free: 3.461 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.8178, allocations: 79.28 kB / 0.736 GB, free: 3.383 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8178, allocations: 0 / 0.736 GB, free: 3.383 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.818, allocations: 31.92 kB / 0.7361 GB, free: 3.352 MB / 490.7 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 () * 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.000535/0.8186, allocations: 0.6616 MB / 0.7367 GB, free: 2.672 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.8187, allocations: 19.38 kB / 0.7367 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8187, allocations: 0 / 0.7367 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.8187, allocations: 7.984 kB / 0.7368 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.8188, allocations: 8.125 kB / 0.7368 GB, free: 2.641 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.8191, allocations: 134.5 kB / 0.7369 GB, free: 2.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.8194, allocations: 0.677 MB / 0.7375 GB, free: 1.777 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.09e-05/0.8195, allocations: 4 kB / 0.7376 GB, free: 1.773 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.8195, allocations: 11.44 kB / 0.7376 GB, free: 1.762 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.8195, allocations: 0 / 0.7376 GB, free: 1.762 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.8321, allocations: 1.502 MB / 0.739 GB, free: 428 kB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.8323, allocations: 190.1 kB / 0.7392 GB, free: 196 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.385, allocations: 0 / 0.7392 GB, free: 196 kB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)