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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.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.358/2.358, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 64.03 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6031, allocations: 140.4 MB / 0.9497 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001642/0.6048, allocations: 0.5818 MB / 0.9503 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005463/0.6053, allocations: 339.8 kB / 0.9506 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.6053, allocations: 4 kB / 0.9506 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.054e-05/0.6054, allocations: 0 / 0.9506 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.02e-05/0.6054, allocations: 0 / 0.9506 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.6058, allocations: 116.7 kB / 0.9507 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.6058, allocations: 9.5 kB / 0.9508 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.6059, allocations: 1.375 kB / 0.9508 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.6059, allocations: 6.734 kB / 0.9508 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.606, allocations: 9.359 kB / 0.9508 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.606, allocations: 0 / 0.9508 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.6063, allocations: 271.4 kB / 0.951 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.6063, allocations: 5.406 kB / 0.951 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.6064, allocations: 5.156 kB / 0.951 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.6065, allocations: 96.89 kB / 0.9511 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6065, allocations: 3.938 kB / 0.9511 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6065, allocations: 0 / 0.9511 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6065, allocations: 5.031 kB / 0.9511 GB, free: 8.254 MB / 0.7169 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.0002693/0.6068, allocations: 345.2 kB / 0.9515 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.6069, allocations: 13.44 kB / 0.9515 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.191e-05/0.6069, allocations: 30.75 kB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.6069, allocations: 2.438 kB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.139e-05/0.607, allocations: 167.7 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.607, allocations: 5.453 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.607, allocations: 1.438 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.732e-05/0.6071, allocations: 38.73 kB / 0.9517 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.6071, allocations: 3.938 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.6071, allocations: 0 / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.6072, allocations: 9.609 kB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.834e-05/0.6072, allocations: 1.531 kB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.6073, allocations: 149.5 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.839e-05/0.6073, allocations: 22.78 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.6074, allocations: 7.984 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/0.608, allocations: 467 kB / 0.9523 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.608, allocations: 31.97 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.608, allocations: 0 / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004247/0.6084, allocations: 255.8 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.6085, allocations: 52.66 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.795e-05/0.6085, allocations: 96.08 kB / 0.9528 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.6085, allocations: 27.23 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.36e-05/0.6085, allocations: 80.14 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.6086, allocations: 13.19 kB / 0.9529 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.6086, allocations: 17.11 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.6086, allocations: 319.9 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.6087, allocations: 8 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.6087, allocations: 19.02 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.6087, allocations: 27.03 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6087, allocations: 0 / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.721e-05/0.6088, allocations: 61.28 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6088, allocations: 9.75 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6088, allocations: 0 / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.6089, allocations: 0.9688 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.6089, allocations: 11.16 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.6089, allocations: 0 / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.609, allocations: 1.719 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.609, allocations: 5.109 kB / 0.9533 GB, free: 5.801 MB / 0.7169 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 4.223e-05/0.609, allocations: 107.2 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.609, allocations: 17.5 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.6092, allocations: 57.14 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6092, allocations: 1.375 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6092, allocations: 0 / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6092, allocations: 0 / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.506e-05/0.6092, allocations: 157.5 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6092, allocations: 0 / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.6093, allocations: 5.875 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6093, allocations: 3.938 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.6093, allocations: 5.75 kB / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6093, allocations: 0 / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6093, allocations: 0 / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.6094, allocations: 81.84 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.6095, allocations: 82.39 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.6095, allocations: 0.9062 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.6095, allocations: 1.344 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.6095, allocations: 1 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.6096, allocations: 9.328 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.676e-05/0.6096, allocations: 77.56 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.21e-07/0.6096, allocations: 0 / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002069/0.6098, allocations: 27.28 kB / 0.9539 GB, free: 5.141 MB / 0.7169 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.0003212/0.6101, allocations: 0.6451 MB / 0.9546 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.586e-05/0.6102, allocations: 23.52 kB / 0.9546 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6102, allocations: 0 / 0.9546 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.6102, allocations: 5.312 kB / 0.9546 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.6104, allocations: 6.406 kB / 0.9546 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.611, allocations: 1.132 MB / 0.9557 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.6111, allocations: 0.681 MB / 0.9564 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.6112, allocations: 10.62 kB / 0.9564 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.6112, allocations: 12.09 kB / 0.9564 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6112, allocations: 0 / 0.9564 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.629, allocations: 1.706 MB / 0.9581 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.233/7.862, allocations: 9.219 kB / 0.9581 GB, free: 1.73 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)