Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 111.3 kB / 16.41 MB, free: 6.008 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.001216/0.001216, allocations: 183.2 kB / 17.34 MB, free: 5.629 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001739/1.004, allocations: 0.5978 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006522/1.005, allocations: 353.4 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/1.005, allocations: 0 / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/1.005, allocations: 4 kB / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.245e-05/1.005, allocations: 1.25 kB / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/1.005, allocations: 111.5 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.382e-05/1.005, allocations: 10.08 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/1.005, allocations: 3.109 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/1.005, allocations: 7.312 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/1.005, allocations: 6.281 kB / 1.09 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/1.006, allocations: 5.094 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/1.006, allocations: 273.9 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/1.006, allocations: 0.7031 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/1.006, allocations: 6.828 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/1.006, allocations: 95.17 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.006, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/1.006, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.929e-06/1.006, allocations: 1.062 kB / 1.09 GB, free: 4.773 MB / 0.8575 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.0003129/1.007, allocations: 336.1 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.007, allocations: 9.219 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/1.007, allocations: 6.688 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.587e-05/1.007, allocations: 162.8 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/1.007, allocations: 1.469 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/1.007, allocations: 1.5 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.621e-05/1.007, allocations: 44.16 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.007, allocations: 1.781 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/1.007, allocations: 3.938 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/1.007, allocations: 0.75 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/1.007, allocations: 3.516 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/1.007, allocations: 155.3 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/1.007, allocations: 21.08 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/1.007, allocations: 6.688 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006369/1.008, allocations: 463.2 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/1.008, allocations: 35.53 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/1.008, allocations: 1.031 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004761/1.008, allocations: 259.4 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/1.008, allocations: 57.03 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.466e-05/1.008, allocations: 93.95 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/1.008, allocations: 25.7 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/1.008, allocations: 81.45 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/1.009, allocations: 18.22 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/1.009, allocations: 13.59 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/1.009, allocations: 317.3 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/1.009, allocations: 9.094 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/1.009, allocations: 15.69 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/1.009, allocations: 32.67 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.009, allocations: 0 / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.729e-05/1.009, allocations: 47.83 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.009, allocations: 10.97 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.009, allocations: 4.062 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.009, allocations: 0.9062 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/1.009, allocations: 11.14 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.009, allocations: 1.625 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/1.009, allocations: 0 / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/1.009, allocations: 2.75 kB / 1.092 GB, free: 2.434 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/1.009, allocations: 109 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/1.009, allocations: 9.047 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/1.009, allocations: 59.3 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.009, allocations: 4.547 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.009, allocations: 1.219 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.009, allocations: 0.6562 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.121e-05/1.009, allocations: 156.6 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.009, allocations: 8.625 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/1.009, allocations: 5.891 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.009, allocations: 3.938 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/1.009, allocations: 1.859 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.009, allocations: 1.031 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.009, allocations: 4 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/1.009, allocations: 75.09 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/1.01, allocations: 83.73 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/1.01, allocations: 4.594 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/1.01, allocations: 1.641 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/1.01, allocations: 3.047 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/1.01, allocations: 1.609 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.768e-05/1.01, allocations: 81.09 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.01, allocations: 0 / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002252/1.01, allocations: 28.52 kB / 1.093 GB, free: 1.789 MB / 0.8575 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 (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.0002037/1.01, allocations: 130.6 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.831e-05/1.01, allocations: 17.58 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.01, allocations: 0.9375 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-05/1.01, allocations: 6.562 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/1.01, allocations: 10.31 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/1.011, allocations: 136.4 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/1.011, allocations: 0.6759 MB / 1.094 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/1.011, allocations: 9.688 kB / 1.094 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.011, allocations: 1.062 kB / 1.094 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.002443/1.013, allocations: 0.7664 MB / 1.095 GB, free: 16.78 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)