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.001083/0.001088, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001163/0.001163, allocations: 192.2 kB / 16.25 MB, free: 6.617 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.527 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 1.105/1.105, allocations: 143 MB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 59.91 kB / 0.5138 GB, free: 11.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1833, allocations: 82.04 MB / 0.5939 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003948/0.1873, allocations: 1.871 MB / 0.5957 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1884, allocations: 0.526 MB / 0.5962 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1886, allocations: 4 kB / 0.5962 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1887, allocations: 15.8 kB / 0.5963 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.1889, allocations: 23.8 kB / 0.5963 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1891, allocations: 55.94 kB / 0.5963 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1894, allocations: 171.4 kB / 0.5965 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.1896, allocations: 57.62 kB / 0.5966 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.1897, allocations: 47.8 kB / 0.5966 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.1898, allocations: 63.58 kB / 0.5967 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1898, allocations: 8 kB / 0.5967 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.206e-05/0.1898, allocations: 12 kB / 0.5967 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.1899, allocations: 23.92 kB / 0.5967 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.19, allocations: 67.59 kB / 0.5968 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1903, allocations: 135.7 kB / 0.5969 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.1903, allocations: 4 kB / 0.5969 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.248e-06/0.1903, allocations: 0 / 0.5969 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.1903, allocations: 0 / 0.5969 GB, free: 6.77 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.001027/0.1914, allocations: 474.7 kB / 0.5974 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.1914, allocations: 12.03 kB / 0.5974 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.809e-05/0.1915, allocations: 50.72 kB / 0.5974 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.1916, allocations: 16.75 kB / 0.5974 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1919, allocations: 227.9 kB / 0.5976 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.192, allocations: 8.375 kB / 0.5977 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.192, allocations: 16.38 kB / 0.5977 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.1924, allocations: 151 kB / 0.5978 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1924, allocations: 0 / 0.5978 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1924, allocations: 4 kB / 0.5978 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1924, allocations: 0 / 0.5978 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.1927, allocations: 81.94 kB / 0.5979 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1937, allocations: 0.743 MB / 0.5986 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1939, allocations: 46.56 kB / 0.5987 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.194, allocations: 32.83 kB / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1941, allocations: 3.938 kB / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.1945, allocations: 122.9 kB / 0.5988 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.1945, allocations: 4 kB / 0.5988 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005757/0.1951, allocations: 169.5 kB / 0.599 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.1952, allocations: 136.8 kB / 0.5991 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1954, allocations: 199.6 kB / 0.5993 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1954, allocations: 33.7 kB / 0.5993 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.1956, allocations: 131.8 kB / 0.5995 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1957, allocations: 39.45 kB / 0.5995 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.1958, allocations: 41.7 kB / 0.5995 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1959, allocations: 326.8 kB / 0.5999 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1961, allocations: 39.97 kB / 0.5999 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.1963, allocations: 150.4 kB / 0.6 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.1966, allocations: 194.4 kB / 0.6002 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1966, allocations: 7.938 kB / 0.6002 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003909/0.197, allocations: 201.2 kB / 0.6004 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.197, allocations: 7.984 kB / 0.6004 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.197, allocations: 4 kB / 0.6004 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.1971, allocations: 8 kB / 0.6004 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1972, allocations: 31.92 kB / 0.6005 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.1972, allocations: 7.938 kB / 0.6005 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1974, allocations: 32.2 kB / 0.6005 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1974, allocations: 8 kB / 0.6005 GB, free: 2.672 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.0001391/0.1975, allocations: 147.9 kB / 0.6007 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.1976, allocations: 19.8 kB / 0.6007 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.1976, allocations: 25.33 kB / 0.6007 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1977, allocations: 4 kB / 0.6007 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1977, allocations: 0 / 0.6007 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1977, allocations: 0 / 0.6007 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007827/0.1985, allocations: 0.5171 MB / 0.6012 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1985, allocations: 0 / 0.6012 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1986, allocations: 15.98 kB / 0.6012 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1986, allocations: 0 / 0.6012 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1986, allocations: 8 kB / 0.6012 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1986, allocations: 7.875 kB / 0.6012 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1987, allocations: 8 kB / 0.6012 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.1992, allocations: 352.1 kB / 0.6016 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.1993, allocations: 92.92 kB / 0.6017 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.1993, allocations: 8.031 kB / 0.6017 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1995, allocations: 15.92 kB / 0.6017 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.1995, allocations: 19.98 kB / 0.6017 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1996, allocations: 12 kB / 0.6017 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001055/0.1997, allocations: 136.6 kB / 0.6019 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1997, allocations: 0 / 0.6019 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000326/0.2, allocations: 28 kB / 0.6019 GB, free: 1.16 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.0008423/0.2009, allocations: 0.9023 MB / 0.6028 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.2012, allocations: 115.8 kB / 0.6029 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2012, allocations: 4.938 kB / 0.6029 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.2013, allocations: 48.03 kB / 0.6029 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3257/0.527, allocations: 67.03 kB / 0.603 GB, free: 43.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.5301, allocations: 2.292 MB / 0.6052 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.5304, allocations: 0.7229 MB / 0.6059 GB, free: 41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.5305, allocations: 26.84 kB / 0.606 GB, free: 41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.5306, allocations: 51.72 kB / 0.606 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of SimCode: time 3.557e-06/0.5306, allocations: 0 / 0.606 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.546, allocations: 3.813 MB / 0.6097 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.5462, allocations: 208.8 kB / 0.6099 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.382, allocations: 0 / 0.6099 GB, free: 40.5 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)