Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 108.5 kB / 16.41 MB, free: 6.461 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.001567/0.001567, allocations: 187 kB / 17.34 MB, free: 5.719 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.14 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.383/2.383, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.893/0.8945, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001681/0.8962, allocations: 0.6167 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006152/0.8968, allocations: 355.3 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.8969, allocations: 0.8438 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.8969, allocations: 0 / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.938e-05/0.8969, allocations: 0 / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.8974, allocations: 123.7 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.823e-05/0.8974, allocations: 24.16 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.8975, allocations: 5.891 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.8975, allocations: 10.59 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.8976, allocations: 15.2 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.8976, allocations: 1.062 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.8981, allocations: 275.1 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.8981, allocations: 10.34 kB / 1.09 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.8981, allocations: 9.672 kB / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.8984, allocations: 108 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8984, allocations: 0 / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.552e-06/0.8984, allocations: 0 / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.8984, allocations: 5.25 kB / 1.09 GB, free: 4.691 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003767/0.8988, allocations: 356.6 kB / 1.091 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.8988, allocations: 9.812 kB / 1.091 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.8989, allocations: 8.344 kB / 1.091 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.899, allocations: 162.6 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.899, allocations: 6.531 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.899, allocations: 3.625 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.8991, allocations: 50.09 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.8992, allocations: 4.922 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.8992, allocations: 8.812 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8992, allocations: 1.062 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.756e-05/0.8992, allocations: 22.56 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.8994, allocations: 167.9 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.8995, allocations: 60.5 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.8995, allocations: 28.67 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/0.9001, allocations: 459 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.9002, allocations: 32.25 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.9002, allocations: 0 / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001148/0.9013, allocations: 0.5967 MB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.9014, allocations: 57.84 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.745e-05/0.9014, allocations: 96.19 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.9014, allocations: 29.7 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.9015, allocations: 85.17 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.9015, allocations: 35.55 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.9016, allocations: 27.94 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.9016, allocations: 318.9 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.9017, allocations: 18.28 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.9017, allocations: 20.5 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.819e-05/0.9018, allocations: 66.81 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.9018, allocations: 0 / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001515/0.902, allocations: 108.4 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.902, allocations: 5.438 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.902, allocations: 4.656 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.902, allocations: 1.469 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.9021, allocations: 20.84 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9021, allocations: 0.75 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.9022, allocations: 0.8125 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.9022, allocations: 11.34 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB 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.315e-05/0.9022, allocations: 113.2 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.9023, allocations: 11.06 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.9025, allocations: 102.1 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9025, allocations: 1.75 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9025, allocations: 3.938 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.9025, allocations: 1.5 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.9028, allocations: 364.4 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9028, allocations: 1.094 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.9029, allocations: 19.61 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.9029, allocations: 0.6875 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.9029, allocations: 6.453 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.903, allocations: 0.75 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.903, allocations: 1.516 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.9032, allocations: 219.8 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.9032, allocations: 90.91 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.9033, allocations: 2.297 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.9033, allocations: 10.12 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.9034, allocations: 6.719 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.9034, allocations: 6.844 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.854e-05/0.9034, allocations: 79.39 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9034, allocations: 0 / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002849/0.9037, allocations: 42.95 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB 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.0002222/0.9039, allocations: 143 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.9041, allocations: 68.75 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9041, allocations: 0.8438 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.9042, allocations: 31.75 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.9044, allocations: 13.58 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.9047, allocations: 193.4 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.905, allocations: 0.6938 MB / 1.095 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.905, allocations: 14.86 kB / 1.095 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9051, allocations: 3.938 kB / 1.095 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.003293/0.9083, allocations: 1.22 MB / 1.096 GB, free: 15.96 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)