Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 289.7 MB / 302.2 MB, free: 2.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 178.9 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009435/0.0009434, allocations: 86.16 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.087e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3098, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.339, allocations: 138.9 MB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.34, allocations: 72.83 kB / 1.116 GB, free: 44.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01189/1.352, allocations: 4.544 MB / 1.12 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.744e-06/1.352, allocations: 0 / 1.12 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.352, allocations: 0 / 1.12 GB, free: 42.09 MB / 0.7448 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.0002792/1.352, allocations: 349.2 kB / 1.12 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/1.352, allocations: 14.66 kB / 1.12 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/1.352, allocations: 30.56 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/1.352, allocations: 4.969 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.182e-05/1.352, allocations: 163.1 kB / 1.121 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/1.352, allocations: 3.828 kB / 1.121 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/1.352, allocations: 2.031 kB / 1.121 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.112e-05/1.352, allocations: 38.2 kB / 1.121 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/1.352, allocations: 0 / 1.121 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/1.352, allocations: 7.75 kB / 1.121 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.352, allocations: 4 kB / 1.121 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/1.352, allocations: 0 / 1.121 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/1.353, allocations: 157.2 kB / 1.121 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/1.353, allocations: 18.61 kB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/1.353, allocations: 9.719 kB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/1.353, allocations: 464.7 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/1.353, allocations: 34.5 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.353, allocations: 0 / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004948/1.354, allocations: 250 kB / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/1.354, allocations: 51.41 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.313e-05/1.354, allocations: 92.44 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/1.354, allocations: 25.7 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/1.354, allocations: 80.14 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/1.354, allocations: 8.219 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/1.354, allocations: 7.5 kB / 1.122 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/1.354, allocations: 315.5 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/1.354, allocations: 4 kB / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/1.354, allocations: 25.12 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/1.354, allocations: 7.281 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.354, allocations: 3.953 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.647e-05/1.354, allocations: 62.72 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.354, allocations: 4 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.354, allocations: 4.844 kB / 1.122 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/1.354, allocations: 0 / 1.122 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/1.354, allocations: 4.562 kB / 1.122 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.354, allocations: 4.547 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/1.354, allocations: 0 / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/1.354, allocations: 0 / 1.122 GB, free: 39.62 MB / 0.7448 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 () * 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 5.583e-05/1.355, allocations: 105 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/1.355, allocations: 12.09 kB / 1.122 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/1.355, allocations: 56.39 kB / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/1.355, allocations: 0 / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.355, allocations: 0 / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.355, allocations: 0 / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.316e-05/1.355, allocations: 153 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.355, allocations: 0.5625 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/1.355, allocations: 15.33 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.355, allocations: 0 / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/1.355, allocations: 4.688 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.355, allocations: 0.5469 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.355, allocations: 0 / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/1.355, allocations: 80.41 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/1.355, allocations: 84.34 kB / 1.123 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/1.355, allocations: 4.453 kB / 1.123 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/1.355, allocations: 0 / 1.123 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/1.355, allocations: 4.094 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/1.355, allocations: 4 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.492e-05/1.355, allocations: 82.66 kB / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.355, allocations: 0 / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002095/1.355, allocations: 35.31 kB / 1.123 GB, free: 38.94 MB / 0.7448 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 () * 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.0004102/1.356, allocations: 0.6554 MB / 1.123 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.244e-05/1.356, allocations: 19.45 kB / 1.123 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.356, allocations: 0.6562 kB / 1.123 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/1.356, allocations: 7.125 kB / 1.123 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.915e-05/1.356, allocations: 12.66 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/1.356, allocations: 124.2 kB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/1.357, allocations: 0.6765 MB / 1.124 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.332e-05/1.357, allocations: 10.45 kB / 1.124 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/1.357, allocations: 11.44 kB / 1.124 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.357, allocations: 0 / 1.124 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/1.37, allocations: 1.478 MB / 1.126 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/1.37, allocations: 183.3 kB / 1.126 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/3.015, allocations: 3.062 kB / 1.126 GB, free: 36.37 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)