Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.006924/0.006924, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001778/0.001778, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.434/1.434, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6145, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002019/0.6166, allocations: 0.6879 MB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007822/0.6174, allocations: 382.8 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.6175, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.6175, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.321e-05/0.6175, allocations: 3.938 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.618, allocations: 75.84 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.618, allocations: 27.91 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.6181, allocations: 4 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.6181, allocations: 8 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.6182, allocations: 15.92 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.6182, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.6186, allocations: 279.6 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.6186, allocations: 3.984 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.6187, allocations: 19.81 kB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.6188, allocations: 67.88 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6188, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.62e-07/0.6188, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.6188, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.7637 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.0004579/0.6193, allocations: 357.5 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6193, allocations: 12.02 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.6194, allocations: 8.844 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.6195, allocations: 160.4 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.6196, allocations: 4.375 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.6196, allocations: 4.375 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.6197, allocations: 54.23 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6197, allocations: 192 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.6198, allocations: 7.875 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6198, allocations: 8 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.446e-05/0.6198, allocations: 19.92 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.62, allocations: 173.6 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.6201, allocations: 58.56 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.6202, allocations: 24.84 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007372/0.6209, allocations: 461.5 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.621, allocations: 30.56 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.621, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001322/0.6223, allocations: 0.6034 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.6224, allocations: 59.39 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.628e-05/0.6224, allocations: 93.95 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.6225, allocations: 33.64 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.6225, allocations: 84.14 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.6225, allocations: 43.39 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.6226, allocations: 29.7 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6227, allocations: 310.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/0.6228, allocations: 27.98 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.6228, allocations: 16 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.6229, allocations: 64.78 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.6229, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001579/0.6231, allocations: 105.1 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6231, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6231, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6231, allocations: 4 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.6232, allocations: 19.98 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6233, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.6233, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.6233, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 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 7.7e-05/0.6234, allocations: 114.4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.6234, allocations: 7.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.6236, allocations: 105.6 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6236, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6236, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6237, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.624, allocations: 358.4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6241, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.6242, allocations: 19.98 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6242, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.6242, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.627e-06/0.6242, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6242, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.6245, allocations: 231.5 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.6246, allocations: 93.03 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.6246, allocations: 3.938 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.6247, allocations: 8 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.6247, allocations: 11.98 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.6247, allocations: 4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.6247, allocations: 79.34 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6248, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002817/0.625, allocations: 40 kB / 1.023 GB, free: 12.77 MB / 0.7794 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.0002509/0.6253, allocations: 147.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.6255, allocations: 63.8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6255, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.6255, allocations: 31.98 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.6257, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.6261, allocations: 222 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.6264, allocations: 0.6809 MB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.6264, allocations: 15.44 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6264, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.002883/0.6293, allocations: 1.202 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)