Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.131/5.131, allocations: 0.5623 GB / 0.5776 GB, free: 3.254 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002589/0.002589, allocations: 357 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.234/4.234, allocations: 410.7 MB / 1.113 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 186.8 kB / 1.226 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.000487, allocations: 16 kB / 1.349 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.7268, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007789/0.7276, allocations: 325.8 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006765/0.7283, allocations: 310.6 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.7284, allocations: 0.5625 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.7284, allocations: 0 / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.435e-05/0.7284, allocations: 7.156 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.7289, allocations: 71.78 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.435e-05/0.7289, allocations: 11.94 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.729, allocations: 0 / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.939e-05/0.729, allocations: 7.984 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.7291, allocations: 5.797 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.7291, allocations: 0 / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.7296, allocations: 267.6 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.7296, allocations: 4 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.7296, allocations: 25.7 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.7298, allocations: 56.95 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7298, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.675e-06/0.7298, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7298, allocations: 1.094 kB / 1.462 GB, free: 283.3 MB / 0.8542 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.0003279/0.7302, allocations: 339.4 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.7302, allocations: 17.97 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.7303, allocations: 3.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.857e-05/0.7304, allocations: 163 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7304, allocations: 5.453 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.7305, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.7306, allocations: 38.25 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.7306, allocations: 2.531 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7306, allocations: 3.938 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.7306, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.7307, allocations: 4 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.7308, allocations: 163.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.75e-05/0.7309, allocations: 23.14 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.7309, allocations: 5.609 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009215/0.7318, allocations: 464.8 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.7319, allocations: 35.34 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/0.7319, allocations: 0 / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0005758/0.7325, allocations: 247.3 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.7325, allocations: 51.41 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.7326, allocations: 98.61 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.7326, allocations: 25.7 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.219e-05/0.7326, allocations: 85.66 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.7327, allocations: 19.73 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.7327, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.7328, allocations: 311.6 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.7328, allocations: 4.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.7328, allocations: 23.16 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.7329, allocations: 11.94 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.7329, allocations: 0.75 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001288/0.733, allocations: 46.3 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7331, allocations: 8 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7331, allocations: 0.5 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.7331, allocations: 6.125 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.7332, allocations: 19.92 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7332, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.7332, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.7333, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.7333, allocations: 115.1 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.7334, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.7335, allocations: 62.7 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.7336, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.7336, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.7336, allocations: 85.58 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.7336, allocations: 1.625 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.7337, allocations: 3.938 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.7337, allocations: 4.797 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001669/0.7339, allocations: 133.5 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001956/0.7341, allocations: 223.3 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.589e-05/0.7342, allocations: 15.95 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.7342, allocations: 80.59 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of Backend: time 7.72e-07/0.7342, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005658/0.7348, allocations: 123.2 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003175/0.7351, allocations: 0.5577 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.004729/0.7399, allocations: 1.225 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB