Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",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.005076/0.005076, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.00134/0.00134, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9137/0.9137, allocations: 143.3 MB / 433.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 63.44 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1943, allocations: 82.04 MB / 0.6754 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003594/0.1979, allocations: 1.785 MB / 0.6772 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1999, allocations: 1.026 MB / 0.6782 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.2001, allocations: 3.938 kB / 0.6782 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.2009, allocations: 163.5 kB / 0.6783 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.2013, allocations: 111.6 kB / 0.6784 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.2019, allocations: 171.1 kB / 0.6786 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.2022, allocations: 163.6 kB / 0.6787 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2024, allocations: 29.09 kB / 0.6788 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2025, allocations: 63.77 kB / 0.6788 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.2027, allocations: 75.69 kB / 0.6789 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.2027, allocations: 8 kB / 0.6789 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.203, allocations: 63.89 kB / 0.679 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.855e-05/0.2031, allocations: 39.89 kB / 0.679 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.174e-05/0.2032, allocations: 55.62 kB / 0.6791 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.2036, allocations: 207.4 kB / 0.6793 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2036, allocations: 0 / 0.6793 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2036, allocations: 4 kB / 0.6793 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2036, allocations: 0 / 0.6793 GB, free: 6.641 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008796/0.2045, allocations: 0.496 MB / 0.6798 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.2045, allocations: 12.03 kB / 0.6798 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.2046, allocations: 34.75 kB / 0.6798 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.2047, allocations: 16.84 kB / 0.6798 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.205, allocations: 256.9 kB / 0.6801 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.205, allocations: 4.375 kB / 0.6801 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.2051, allocations: 3.938 kB / 0.6801 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.2053, allocations: 91.31 kB / 0.6802 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2053, allocations: 8 kB / 0.6802 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2053, allocations: 0 / 0.6802 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.2054, allocations: 0 / 0.6802 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.2055, allocations: 39.92 kB / 0.6802 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.2061, allocations: 352.7 kB / 0.6805 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.2063, allocations: 78.67 kB / 0.6806 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/0.2064, allocations: 40.78 kB / 0.6807 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.2064, allocations: 3.984 kB / 0.6807 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.2066, allocations: 79.5 kB / 0.6807 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.2067, allocations: 3.938 kB / 0.6807 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.000396/0.2071, allocations: 145.4 kB / 0.6809 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.2071, allocations: 85.11 kB / 0.681 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.2075, allocations: 262.9 kB / 0.6812 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.2075, allocations: 29.7 kB / 0.6812 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.2076, allocations: 116.1 kB / 0.6813 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.2077, allocations: 31.73 kB / 0.6814 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.2077, allocations: 29.7 kB / 0.6814 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2079, allocations: 326.8 kB / 0.6817 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.208, allocations: 27.98 kB / 0.6817 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.2081, allocations: 59.42 kB / 0.6818 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2083, allocations: 73.64 kB / 0.6819 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2083, allocations: 0 / 0.6819 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002449/0.2085, allocations: 121.8 kB / 0.682 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2085, allocations: 4 kB / 0.682 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2086, allocations: 0 / 0.682 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2086, allocations: 4.062 kB / 0.682 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.2087, allocations: 15.98 kB / 0.682 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2087, allocations: 3.938 kB / 0.682 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.2088, allocations: 7.938 kB / 0.682 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2088, allocations: 4 kB / 0.682 GB, free: 3.543 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001562/0.2089, allocations: 137.8 kB / 0.6822 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.209, allocations: 19.86 kB / 0.6822 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.209, allocations: 21.39 kB / 0.6822 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.2091, allocations: 8 kB / 0.6822 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2091, allocations: 0 / 0.6822 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2091, allocations: 3.938 kB / 0.6822 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.2093, allocations: 217.5 kB / 0.6824 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2093, allocations: 7.984 kB / 0.6824 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.2093, allocations: 3.938 kB / 0.6824 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2094, allocations: 4 kB / 0.6824 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2094, allocations: 0 / 0.6824 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2094, allocations: 0 / 0.6824 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2094, allocations: 0 / 0.6824 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.2097, allocations: 160.9 kB / 0.6826 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.2097, allocations: 89.02 kB / 0.6827 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.2098, allocations: 4 kB / 0.6827 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.2098, allocations: 8 kB / 0.6827 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.2099, allocations: 7.922 kB / 0.6827 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.2099, allocations: 4 kB / 0.6827 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000209/0.2101, allocations: 192.6 kB / 0.6829 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2101, allocations: 0 / 0.6829 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002665/0.2104, allocations: 43.88 kB / 0.6829 GB, free: 2.531 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.002079/0.2125, allocations: 0.9792 MB / 0.6839 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.2128, allocations: 79.91 kB / 0.6839 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2128, allocations: 3.938 kB / 0.684 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/0.2129, allocations: 39.92 kB / 0.684 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2132, allocations: 54.88 kB / 0.684 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.2158, allocations: 1.951 MB / 0.6859 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.2162, allocations: 0.724 MB / 0.6867 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.235e-05/0.2163, allocations: 25.39 kB / 0.6867 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.2164, allocations: 43.42 kB / 0.6867 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.2164, allocations: 0 / 0.6867 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.2451, allocations: 4.548 MB / 0.6912 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.332, allocations: 6.75 kB / 0.6912 GB, free: 10.24 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)