Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00168/0.00168, allocations: 110.3 kB / 16.41 MB, free: 6.477 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.001601/0.001601, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 285.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9064/0.9064, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 95.86 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4558, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001806/0.4576, allocations: 0.5902 MB / 0.7677 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006367/0.4583, allocations: 350.7 kB / 0.768 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.4583, allocations: 0 / 0.768 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.4584, allocations: 0 / 0.768 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.133e-05/0.4584, allocations: 3.938 kB / 0.768 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.4589, allocations: 109.7 kB / 0.7681 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.4589, allocations: 11.94 kB / 0.7681 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.459, allocations: 8 kB / 0.7681 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.459, allocations: 3.984 kB / 0.7681 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.4591, allocations: 8 kB / 0.7681 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.4591, allocations: 0 / 0.7681 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.4595, allocations: 275.6 kB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.4595, allocations: 7.984 kB / 0.7684 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.4595, allocations: 3.938 kB / 0.7684 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.4597, allocations: 95.73 kB / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4597, allocations: 0 / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4597, allocations: 0 / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.4597, allocations: 0 / 0.7685 GB, free: 2.434 MB / 0.5294 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.0003603/0.4601, allocations: 351.2 kB / 0.7688 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4601, allocations: 11.97 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.4602, allocations: 4.938 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.4603, allocations: 164.3 kB / 0.769 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-06/0.4603, allocations: 384 / 0.769 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.4604, allocations: 384 / 0.769 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.4605, allocations: 38.25 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4605, allocations: 4.188 kB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4605, allocations: 3.938 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4605, allocations: 4 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.4605, allocations: 0 / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.4607, allocations: 157.6 kB / 0.7692 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.276e-05/0.4608, allocations: 18.61 kB / 0.7692 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.4608, allocations: 8.922 kB / 0.7692 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006962/0.4615, allocations: 469.4 kB / 0.7697 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.4615, allocations: 30.56 kB / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.4615, allocations: 0 / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005243/0.4621, allocations: 250.5 kB / 0.77 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.4621, allocations: 51.41 kB / 0.77 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.4622, allocations: 97.86 kB / 0.7701 GB, free: 488 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.4622, allocations: 25.7 kB / 0.7701 GB, free: 456 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.4622, allocations: 84.12 kB / 0.7702 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.4623, allocations: 15.81 kB / 0.7702 GB, free: 352 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.4623, allocations: 17.66 kB / 0.7702 GB, free: 328 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4624, allocations: 315 kB / 0.7705 GB, free: 4 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.4625, allocations: 16 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.4625, allocations: 13.72 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.4625, allocations: 21.72 kB / 0.7706 GB, free: 15.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4625, allocations: 4 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.85e-05/0.4626, allocations: 61.62 kB / 0.7706 GB, free: 15.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4627, allocations: 10.59 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4627, allocations: 0 / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4627, allocations: 0 / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.4627, allocations: 8 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4628, allocations: 0 / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.4628, allocations: 7.938 kB / 0.7707 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.4628, allocations: 4 kB / 0.7707 GB, free: 15.84 MB / 0.545 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 7.527e-05/0.4629, allocations: 112.4 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.4629, allocations: 8 kB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.463, allocations: 61.12 kB / 0.7708 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.463, allocations: 192 / 0.7708 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4631, allocations: 0 / 0.7708 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4631, allocations: 3.984 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.4632, allocations: 153.7 kB / 0.771 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4632, allocations: 0 / 0.771 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.4632, allocations: 7.984 kB / 0.771 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4632, allocations: 3.938 kB / 0.771 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.4633, allocations: 4 kB / 0.771 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4633, allocations: 4 kB / 0.771 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4633, allocations: 0 / 0.771 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.4634, allocations: 80.97 kB / 0.7711 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.4634, allocations: 77.11 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.4635, allocations: 3.938 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.735e-05/0.4635, allocations: 4.031 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.4635, allocations: 8.047 kB / 0.7712 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.4635, allocations: 0 / 0.7712 GB, free: 15.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.4636, allocations: 79.28 kB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4636, allocations: 0 / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002158/0.4638, allocations: 24 kB / 0.7713 GB, free: 15.12 MB / 0.545 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.000198/0.464, allocations: 131.1 kB / 0.7714 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.658e-05/0.4641, allocations: 23.86 kB / 0.7714 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4641, allocations: 224 / 0.7714 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.4641, allocations: 12 kB / 0.7714 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.4643, allocations: 6.5 kB / 0.7714 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.4645, allocations: 127.6 kB / 0.7716 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.4648, allocations: 0.6768 MB / 0.7722 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.4648, allocations: 7.438 kB / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4648, allocations: 0 / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Templates: time 0.002073/0.4669, allocations: 0.7727 MB / 0.773 GB, free: 13.3 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)