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.7411/0.7411, allocations: 128.7 MB / 143.7 MB, free: 2.348 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 194 kB / 173.8 MB, free: 6.113 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.667/1.667, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009529/0.0009529, allocations: 94.67 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003418, allocations: 10.66 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1738, allocations: 76.77 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.3229, allocations: 102.7 MB / 0.7357 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.3232, allocations: 83.94 kB / 0.7358 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.3375, allocations: 4.889 MB / 0.7406 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3375, allocations: 0 / 0.7406 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3375, allocations: 0 / 0.7406 GB, free: 2.621 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.000416/0.338, allocations: 359.3 kB / 0.7409 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.338, allocations: 8.031 kB / 0.7409 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.3381, allocations: 34.56 kB / 0.7409 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.3382, allocations: 7.938 kB / 0.741 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3383, allocations: 163.1 kB / 0.7411 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3383, allocations: 0 / 0.7411 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.3384, allocations: 7.906 kB / 0.7411 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3385, allocations: 33.7 kB / 0.7411 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.3385, allocations: 3.984 kB / 0.7412 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.3385, allocations: 4 kB / 0.7412 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3385, allocations: 0 / 0.7412 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.3385, allocations: 11.89 kB / 0.7412 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3387, allocations: 153.7 kB / 0.7413 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.3388, allocations: 22.56 kB / 0.7413 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.3394, allocations: 457.5 kB / 0.7418 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3395, allocations: 34.56 kB / 0.7418 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3395, allocations: 4 kB / 0.7418 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005638/0.34, allocations: 246.6 kB / 0.742 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.3401, allocations: 51.41 kB / 0.7421 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.3402, allocations: 96.94 kB / 0.7422 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3402, allocations: 33.58 kB / 0.7422 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.3402, allocations: 80.14 kB / 0.7423 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3403, allocations: 11.8 kB / 0.7423 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.3403, allocations: 0 / 0.7423 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3404, allocations: 327 kB / 0.7426 GB, free: 168 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.3404, allocations: 0 / 0.7426 GB, free: 168 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.3405, allocations: 21.72 kB / 0.7426 GB, free: 140 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.3405, allocations: 7.984 kB / 0.7426 GB, free: 132 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3405, allocations: 0 / 0.7426 GB, free: 132 kB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001119/0.3406, allocations: 49.64 kB / 0.7427 GB, free: 76 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3406, allocations: 4 kB / 0.7427 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3406, allocations: 4.062 kB / 0.7427 GB, free: 68 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3407, allocations: 0 / 0.7427 GB, free: 68 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.3407, allocations: 11.98 kB / 0.7427 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3407, allocations: 0 / 0.7427 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.3408, allocations: 4 kB / 0.7427 GB, free: 52 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.3408, allocations: 8 kB / 0.7427 GB, free: 44 kB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3703/0.7111, allocations: 110 kB / 0.7428 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.7112, allocations: 1 kB / 0.7428 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.7114, allocations: 54.94 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7114, allocations: 0.7812 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7114, allocations: 1.562 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7114, allocations: 0.7031 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.445e-05/0.7115, allocations: 157.8 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.7115, allocations: 0 / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/0.7116, allocations: 9.594 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7116, allocations: 0 / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.7117, allocations: 2.406 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7117, allocations: 1.562 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7117, allocations: 0 / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.7118, allocations: 87.45 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.7119, allocations: 78.56 kB / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.7119, allocations: 1.875 kB / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.477e-05/0.7119, allocations: 3.844 kB / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.712, allocations: 3.328 kB / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.712, allocations: 0 / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.695e-05/0.712, allocations: 82.78 kB / 0.7433 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.712, allocations: 4.219 kB / 0.7433 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003285/0.7124, allocations: 37.33 kB / 0.7433 GB, free: 109.4 MB / 0.5105 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 (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.000417/0.7128, allocations: 0.6513 MB / 0.744 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.517e-05/0.7129, allocations: 20.41 kB / 0.744 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7129, allocations: 3.875 kB / 0.744 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.7129, allocations: 9.438 kB / 0.744 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.713, allocations: 3.062 kB / 0.744 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.7135, allocations: 0.5228 MB / 0.7445 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.7137, allocations: 0.6819 MB / 0.7452 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.7137, allocations: 1.938 kB / 0.7452 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.7137, allocations: 12.81 kB / 0.7452 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/0.7138, allocations: 1.641 kB / 0.7452 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.7274, allocations: 1.512 MB / 0.7467 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.7277, allocations: 222 kB / 0.7469 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.231, allocations: 1 kB / 0.7469 GB, free: 107.3 MB / 0.5105 GB (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)