Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",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.0008576/0.0008576, allocations: 95.38 kB / 15.37 MB, free: 0.7266 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.005921/0.005921, allocations: 177.8 kB / 16.27 MB, free: 6.34 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.9434/0.9434, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003649, allocations: 8 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1928, allocations: 83.42 MB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.001966/0.1947, allocations: 1.484 MB / 0.5994 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1964, allocations: 1.049 MB / 0.6004 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.337e-05/0.1964, allocations: 3.938 kB / 0.6005 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1967, allocations: 55.86 kB / 0.6005 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1969, allocations: 71.73 kB / 0.6006 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.1975, allocations: 195.2 kB / 0.6008 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1977, allocations: 135.6 kB / 0.6009 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1978, allocations: 21.11 kB / 0.6009 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1979, allocations: 55.72 kB / 0.601 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.198, allocations: 63.69 kB / 0.601 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.198, allocations: 4 kB / 0.601 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1982, allocations: 59.95 kB / 0.6011 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.1982, allocations: 31.91 kB / 0.6011 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.199e-05/0.1983, allocations: 81.3 kB / 0.6012 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1986, allocations: 191.6 kB / 0.6014 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1986, allocations: 0 / 0.6014 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1986, allocations: 0 / 0.6014 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1986, allocations: 0 / 0.6014 GB, free: 4.059 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005463/0.1991, allocations: 472.5 kB / 0.6018 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1992, allocations: 8.031 kB / 0.6018 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.1992, allocations: 38.73 kB / 0.6019 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.1993, allocations: 16.75 kB / 0.6019 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1995, allocations: 248.8 kB / 0.6021 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1995, allocations: 8.375 kB / 0.6021 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1996, allocations: 7.938 kB / 0.6021 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1998, allocations: 100.2 kB / 0.6022 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1998, allocations: 0 / 0.6022 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1998, allocations: 0 / 0.6022 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.1998, allocations: 7.984 kB / 0.6022 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1999, allocations: 39.91 kB / 0.6023 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.2004, allocations: 348.7 kB / 0.6026 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.2006, allocations: 90.69 kB / 0.6027 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.2007, allocations: 32.84 kB / 0.6027 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2007, allocations: 0 / 0.6027 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.2009, allocations: 83.38 kB / 0.6028 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.2009, allocations: 3.938 kB / 0.6028 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003328/0.2013, allocations: 141.4 kB / 0.6029 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.2013, allocations: 106.8 kB / 0.603 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.2016, allocations: 271.5 kB / 0.6033 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.2016, allocations: 29.7 kB / 0.6033 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.2017, allocations: 112.1 kB / 0.6034 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.2018, allocations: 19.8 kB / 0.6035 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.2018, allocations: 17.72 kB / 0.6035 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2019, allocations: 326.8 kB / 0.6038 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.202, allocations: 27.98 kB / 0.6038 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.2021, allocations: 68.28 kB / 0.6039 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2023, allocations: 73.62 kB / 0.604 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2023, allocations: 0 / 0.604 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002265/0.2025, allocations: 113.5 kB / 0.6041 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2025, allocations: 4 kB / 0.6041 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2025, allocations: 7.969 kB / 0.6041 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2026, allocations: 0 / 0.6041 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.2027, allocations: 19.98 kB / 0.6041 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2027, allocations: 0 / 0.6041 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.2027, allocations: 19.78 kB / 0.6041 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2028, allocations: 4 kB / 0.6041 GB, free: 0.9648 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001374/0.2029, allocations: 138.5 kB / 0.6042 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2029, allocations: 15.75 kB / 0.6043 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.203, allocations: 29.39 kB / 0.6043 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.203, allocations: 4 kB / 0.6043 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.203, allocations: 0 / 0.6043 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.203, allocations: 3.938 kB / 0.6043 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.2033, allocations: 213.6 kB / 0.6045 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2033, allocations: 0 / 0.6045 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.2033, allocations: 11.92 kB / 0.6045 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2033, allocations: 4 kB / 0.6045 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.2034, allocations: 7.984 kB / 0.6045 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2034, allocations: 0 / 0.6045 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2034, allocations: 0 / 0.6045 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.2036, allocations: 149.2 kB / 0.6047 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.2037, allocations: 92.92 kB / 0.6048 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.2037, allocations: 8.172 kB / 0.6048 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.344e-05/0.2038, allocations: 0 / 0.6048 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.2038, allocations: 19.86 kB / 0.6048 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2039, allocations: 4 kB / 0.6048 GB, free: 180 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3149/0.5188, allocations: 193.5 kB / 0.605 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.91e-07/0.5188, allocations: 1.406 kB / 0.605 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003428/0.5192, allocations: 28.27 kB / 0.605 GB, free: 41.06 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001378/0.5205, allocations: 0.9981 MB / 0.606 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.5208, allocations: 77.58 kB / 0.606 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5208, allocations: 0 / 0.606 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.5209, allocations: 35.33 kB / 0.6061 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.5212, allocations: 39.81 kB / 0.6061 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.5229, allocations: 1.964 MB / 0.608 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.523, allocations: 0.7226 MB / 0.6087 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.988e-05/0.5231, allocations: 27.75 kB / 0.6088 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.5232, allocations: 52.69 kB / 0.6088 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.5232, allocations: 0 / 0.6088 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.5365, allocations: 4.211 MB / 0.6129 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.5366, allocations: 252.2 kB / 0.6132 GB, free: 38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.29, allocations: 0 / 0.6132 GB, free: 38 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)