Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001818/0.001818, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 68.14 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3251, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002401/0.3275, allocations: 0.6407 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.3285, allocations: 377 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.3286, allocations: 4 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.3286, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.17e-05/0.3286, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.3291, allocations: 75.84 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.834e-05/0.3291, allocations: 19.86 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.3292, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.462e-05/0.3292, allocations: 7.938 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.3293, allocations: 3.984 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3293, allocations: 4 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.3297, allocations: 275.7 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.3297, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.3297, allocations: 19.91 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.3299, allocations: 83.86 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3299, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3299, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3299, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8262 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.0004067/0.3303, allocations: 339.6 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3304, allocations: 12.03 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.3305, allocations: 4.938 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3306, allocations: 168.3 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3306, allocations: 384 / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.3306, allocations: 8.312 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.3307, allocations: 30.27 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3308, allocations: 4.188 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3308, allocations: 3.938 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3308, allocations: 3.984 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.3308, allocations: 7.938 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.331, allocations: 150 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.3311, allocations: 30.59 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.3311, allocations: 4.859 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/0.3319, allocations: 461.5 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3319, allocations: 30.56 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3319, allocations: 0 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005404/0.3325, allocations: 254.5 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.3325, allocations: 63.34 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.3326, allocations: 89.86 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3326, allocations: 33.7 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.3326, allocations: 80.14 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.3327, allocations: 7.812 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.3327, allocations: 21.7 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.3328, allocations: 310.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.3328, allocations: 8.125 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.3329, allocations: 25.73 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.789e-05/0.3329, allocations: 25.72 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3329, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.258e-05/0.333, allocations: 53.62 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3331, allocations: 11.88 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3331, allocations: 4.062 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3331, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.3332, allocations: 8 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3332, allocations: 3.984 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.3332, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.3332, allocations: 8 kB / 1.071 GB, free: 6.77 MB / 0.8262 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 6.481e-05/0.3333, allocations: 109.8 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.3333, allocations: 7.938 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.3334, allocations: 61.11 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3335, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3335, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3335, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.3336, allocations: 157.7 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3336, allocations: 0 / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.3336, allocations: 4 kB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3337, allocations: 3.938 kB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3337, allocations: 4 kB / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3337, allocations: 0 / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3337, allocations: 4 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.3338, allocations: 84.95 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.3339, allocations: 77.11 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3339, allocations: 7.969 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.181e-05/0.3339, allocations: 8 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.334, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.334, allocations: 7.984 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.408e-05/0.334, allocations: 79.34 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.334, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002155/0.3342, allocations: 24 kB / 1.072 GB, free: 6.035 MB / 0.8262 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.0002026/0.3344, allocations: 127.2 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.3345, allocations: 15.94 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3345, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/0.3346, allocations: 7.984 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.3347, allocations: 16.94 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.335, allocations: 115.2 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3352, allocations: 0.6809 MB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.971e-05/0.3352, allocations: 4 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.3353, allocations: 7.438 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3353, allocations: 0 / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of Templates: time 0.003093/0.3384, allocations: 0.8639 MB / 1.074 GB, free: 4.148 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)