Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001106/0.001106, allocations: 193.2 kB / 16.13 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.9766/0.9766, allocations: 143.1 MB / 433 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1692, allocations: 82.04 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003019/0.1722, allocations: 1.878 MB / 0.5956 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.1732, allocations: 0.5261 MB / 0.5961 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.1733, allocations: 7.938 kB / 0.5961 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1734, allocations: 15.86 kB / 0.5961 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.1735, allocations: 23.78 kB / 0.5961 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1737, allocations: 51.95 kB / 0.5962 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1739, allocations: 163.4 kB / 0.5963 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1741, allocations: 57.62 kB / 0.5964 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.1742, allocations: 47.73 kB / 0.5964 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.1742, allocations: 55.64 kB / 0.5965 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1743, allocations: 8 kB / 0.5965 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.1743, allocations: 4 kB / 0.5965 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.1743, allocations: 19.92 kB / 0.5965 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.1744, allocations: 67.58 kB / 0.5966 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1746, allocations: 131.7 kB / 0.5967 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1746, allocations: 0 / 0.5967 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1746, allocations: 4 kB / 0.5967 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.1746, allocations: 0 / 0.5967 GB, free: 6.914 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006872/0.1753, allocations: 466.8 kB / 0.5972 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1753, allocations: 8.031 kB / 0.5972 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.1754, allocations: 54.61 kB / 0.5972 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1754, allocations: 20.75 kB / 0.5972 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1757, allocations: 227.9 kB / 0.5975 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1758, allocations: 12.38 kB / 0.5975 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.1758, allocations: 12.38 kB / 0.5975 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.1761, allocations: 150.6 kB / 0.5976 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1761, allocations: 0 / 0.5976 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1761, allocations: 0 / 0.5976 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1761, allocations: 4 kB / 0.5976 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.1765, allocations: 79.88 kB / 0.5977 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.1773, allocations: 0.7391 MB / 0.5984 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1775, allocations: 46.56 kB / 0.5985 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1776, allocations: 32.83 kB / 0.5985 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1776, allocations: 4 kB / 0.5985 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.1779, allocations: 134.8 kB / 0.5986 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1779, allocations: 0 / 0.5986 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004712/0.1784, allocations: 169.6 kB / 0.5988 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.1784, allocations: 136.5 kB / 0.5989 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1786, allocations: 199.6 kB / 0.5991 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1786, allocations: 29.7 kB / 0.5991 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.1787, allocations: 123.9 kB / 0.5993 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.1788, allocations: 43.45 kB / 0.5993 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.1789, allocations: 37.7 kB / 0.5993 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.1791, allocations: 330.8 kB / 0.5996 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1792, allocations: 39.97 kB / 0.5997 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1794, allocations: 145.5 kB / 0.5998 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.1797, allocations: 206.5 kB / 0.6 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1797, allocations: 0 / 0.6 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003691/0.1801, allocations: 213 kB / 0.6002 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1801, allocations: 4 kB / 0.6002 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1801, allocations: 4 kB / 0.6002 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1801, allocations: 4 kB / 0.6002 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1803, allocations: 31.92 kB / 0.6003 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1803, allocations: 8.5 kB / 0.6003 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1804, allocations: 32.08 kB / 0.6003 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1804, allocations: 8 kB / 0.6003 GB, free: 2.824 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001073/0.1805, allocations: 144.1 kB / 0.6005 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1806, allocations: 19.81 kB / 0.6005 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.1806, allocations: 25.39 kB / 0.6005 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1806, allocations: 0 / 0.6005 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1806, allocations: 4 kB / 0.6005 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.1806, allocations: 0 / 0.6005 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.1814, allocations: 0.5247 MB / 0.601 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1814, allocations: 4 kB / 0.601 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.1815, allocations: 15.98 kB / 0.601 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1815, allocations: 0 / 0.601 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1815, allocations: 8 kB / 0.601 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1815, allocations: 11.92 kB / 0.601 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1815, allocations: 0 / 0.601 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.182, allocations: 356.1 kB / 0.6014 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.182, allocations: 92.92 kB / 0.6015 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1821, allocations: 4.031 kB / 0.6015 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1822, allocations: 19.92 kB / 0.6015 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.1823, allocations: 11.98 kB / 0.6015 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1823, allocations: 8 kB / 0.6015 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001041/0.1824, allocations: 136.6 kB / 0.6016 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.543e-06/0.1824, allocations: 0 / 0.6016 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003096/0.1827, allocations: 35.94 kB / 0.6017 GB, free: 1.309 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000725/0.1835, allocations: 0.8927 MB / 0.6026 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.1838, allocations: 111.8 kB / 0.6027 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1838, allocations: 1 kB / 0.6027 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1839, allocations: 56.03 kB / 0.6027 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.1845, allocations: 60.45 kB / 0.6028 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2713/0.4558, allocations: 2.294 MB / 0.605 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.456, allocations: 0.7275 MB / 0.6057 GB, free: 41.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.209e-05/0.4561, allocations: 17.5 kB / 0.6057 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.4562, allocations: 53.47 kB / 0.6058 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of SimCode: time 1.312e-06/0.4562, allocations: 1.312 kB / 0.6058 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.4691, allocations: 3.685 MB / 0.6094 GB, free: 41.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.4693, allocations: 209.2 kB / 0.6096 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.156, allocations: 0 / 0.6096 GB, free: 41.16 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)