Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008916/0.0008916, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0009063/0.0009064, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8701/0.8701, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 8 kB / 0.5158 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 83.42 MB / 0.5973 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001311/0.1353, allocations: 1.143 MB / 0.5984 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006119/0.1359, allocations: 364 kB / 0.5987 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.1359, allocations: 0 / 0.5987 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.136, allocations: 3.984 kB / 0.5987 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.136, allocations: 7.938 kB / 0.5987 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1364, allocations: 75.84 kB / 0.5988 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.1364, allocations: 23.92 kB / 0.5988 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.1365, allocations: 8 kB / 0.5988 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/0.1365, allocations: 0 / 0.5988 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.1366, allocations: 15.92 kB / 0.5988 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1366, allocations: 4 kB / 0.5988 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.1369, allocations: 259.7 kB / 0.5991 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.1369, allocations: 0 / 0.5991 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.1369, allocations: 33.64 kB / 0.5991 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.1371, allocations: 79.84 kB / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1371, allocations: 0 / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1371, allocations: 4 kB / 0.5992 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.095e-06/0.1371, allocations: 0 / 0.5992 GB, free: 6.016 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003779/0.1375, allocations: 359.5 kB / 0.5996 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1375, allocations: 12.03 kB / 0.5996 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1376, allocations: 0 / 0.5996 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.1377, allocations: 171 kB / 0.5997 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1377, allocations: 3.938 kB / 0.5997 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.1377, allocations: 7.984 kB / 0.5997 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1378, allocations: 49.69 kB / 0.5998 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1379, allocations: 0 / 0.5998 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1379, allocations: 4 kB / 0.5998 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1379, allocations: 3.984 kB / 0.5998 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.138, allocations: 51.91 kB / 0.5998 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.1383, allocations: 256.8 kB / 0.6001 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1385, allocations: 46.56 kB / 0.6001 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.1386, allocations: 24.91 kB / 0.6002 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005522/0.1391, allocations: 465.5 kB / 0.6006 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.1391, allocations: 30.56 kB / 0.6006 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.1391, allocations: 0 / 0.6006 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.1395, allocations: 105.6 kB / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.1395, allocations: 51.41 kB / 0.6008 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.1396, allocations: 109.8 kB / 0.6009 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1396, allocations: 25.7 kB / 0.6009 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.1396, allocations: 84.14 kB / 0.601 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.1397, allocations: 11.97 kB / 0.601 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.1397, allocations: 4 kB / 0.601 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.1398, allocations: 318.8 kB / 0.6013 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.1398, allocations: 19.98 kB / 0.6013 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.1399, allocations: 19.98 kB / 0.6013 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.739e-05/0.14, allocations: 24.05 kB / 0.6014 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.14, allocations: 0 / 0.6014 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001913/0.1402, allocations: 85.59 kB / 0.6015 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1402, allocations: 10.66 kB / 0.6015 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1402, allocations: 0 / 0.6015 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.1402, allocations: 0 / 0.6015 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.1403, allocations: 11.98 kB / 0.6015 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1403, allocations: 0 / 0.6015 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.1404, allocations: 8 kB / 0.6015 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1404, allocations: 7.938 kB / 0.6015 GB, free: 3.375 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.02e-05/0.1404, allocations: 109.9 kB / 0.6016 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1405, allocations: 11.84 kB / 0.6016 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.1407, allocations: 85.12 kB / 0.6017 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1407, allocations: 8.016 kB / 0.6017 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1407, allocations: 0 / 0.6017 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1407, allocations: 0 / 0.6017 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.1408, allocations: 165.6 kB / 0.6018 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1408, allocations: 0 / 0.6018 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.1409, allocations: 19.92 kB / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1409, allocations: 0 / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1409, allocations: 0 / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1409, allocations: 0 / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1409, allocations: 0 / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1412, allocations: 175.5 kB / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.1412, allocations: 77.11 kB / 0.6021 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1412, allocations: 11.94 kB / 0.6021 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.1413, allocations: 12.02 kB / 0.6021 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.1413, allocations: 0 / 0.6021 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1413, allocations: 4.25 kB / 0.6021 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.1414, allocations: 83.28 kB / 0.6022 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1414, allocations: 0 / 0.6022 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002099/0.1416, allocations: 23.98 kB / 0.6022 GB, free: 2.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001346/0.1417, allocations: 103.2 kB / 0.6023 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.1419, allocations: 51.95 kB / 0.6024 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1419, allocations: 0 / 0.6024 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.142, allocations: 28.05 kB / 0.6024 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.1422, allocations: 7.953 kB / 0.6024 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.1424, allocations: 120.5 kB / 0.6025 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.1426, allocations: 0.677 MB / 0.6032 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.025e-05/0.1427, allocations: 0 / 0.6032 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.1427, allocations: 15.5 kB / 0.6032 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1427, allocations: 0 / 0.6032 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of Templates: time 0.00238/0.1451, allocations: 0.6197 MB / 0.6038 GB, free: 0.8281 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)