Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.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.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,fileNamePrefix="BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,fileNamePrefix="BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample",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.006633/0.006633, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001459/0.001459, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.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.8771/0.8771, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 68.55 kB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1723, allocations: 82.04 MB / 0.6751 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008633/0.181, allocations: 6.626 MB / 0.6816 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007772/0.1888, allocations: 3.877 MB / 0.6854 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.1906, allocations: 27.88 kB / 0.6854 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009172/0.1915, allocations: 229.7 kB / 0.6856 GB, free: 64 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.193, allocations: 421 kB / 0.686 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.1952, allocations: 0.7553 MB / 0.6868 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.1975, allocations: 1.959 MB / 0.6887 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.1986, allocations: 0.6874 MB / 0.6894 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.1998, allocations: 0.7359 MB / 0.6901 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.201, allocations: 0.8366 MB / 0.6909 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.2013, allocations: 188 kB / 0.6911 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008874/0.2022, allocations: 467.5 kB / 0.6915 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.2026, allocations: 442.5 kB / 0.6919 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007925/0.2034, allocations: 0.816 MB / 0.6927 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.2058, allocations: 2.226 MB / 0.6949 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2058, allocations: 0 / 0.6949 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2058, allocations: 0 / 0.6949 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.955e-05/0.2058, allocations: 4 kB / 0.6949 GB, free: 6.508 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.004347/0.2102, allocations: 2.177 MB / 0.697 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.2103, allocations: 16.03 kB / 0.6971 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/0.2105, allocations: 173.2 kB / 0.6972 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/0.2111, allocations: 195.8 kB / 0.6974 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.2126, allocations: 0.8987 MB / 0.6983 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.2129, allocations: 268.3 kB / 0.6985 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.2131, allocations: 112 kB / 0.6987 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.216, allocations: 1.373 MB / 0.7 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.216, allocations: 0 / 0.7 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.2162, allocations: 52 kB / 0.7 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.2162, allocations: 31.98 kB / 0.7001 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.2192, allocations: 1.246 MB / 0.7013 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007442/0.2266, allocations: 4.489 MB / 0.7057 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.2291, allocations: 1.162 MB / 0.7068 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.2307, allocations: 0.7465 MB / 0.7075 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/0.2313, allocations: 0.5269 MB / 0.7081 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.2329, allocations: 0.7078 MB / 0.7087 GB, free: 7.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=115): time 6.442e-06/0.233, allocations: 7.922 kB / 0.7088 GB, free: 7.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=115): time 0.0115/0.2445, allocations: 3.415 MB / 0.7121 GB, free: 4.156 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002325/0.2448, allocations: 286 kB / 0.7124 GB, free: 3.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.2468, allocations: 1.07 MB / 0.7134 GB, free: 2.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.247, allocations: 45.7 kB / 0.7134 GB, free: 2.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005059/0.2475, allocations: 0.5956 MB / 0.714 GB, free: 2.078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.2479, allocations: 400.5 kB / 0.7144 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/0.2483, allocations: 190.6 kB / 0.7146 GB, free: 1.492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2484, allocations: 349.9 kB / 0.7149 GB, free: 1.145 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.2497, allocations: 0.5098 MB / 0.7154 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.2511, allocations: 0.6615 MB / 0.7161 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.2539, allocations: 1.509 MB / 0.7175 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.254, allocations: 4 kB / 0.7175 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006147/0.2601, allocations: 2.142 MB / 0.7196 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.2603, allocations: 213.6 kB / 0.7198 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00594/0.2662, allocations: 2.031 MB / 0.7218 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.2677, allocations: 434.1 kB / 0.7222 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.2685, allocations: 143.8 kB / 0.7224 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.2804, allocations: 6.855 MB / 0.7291 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.282, allocations: 123.3 kB / 0.7292 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.2823, allocations: 51.91 kB / 0.7292 GB, free: 1.734 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009932/0.2833, allocations: 0.516 MB / 0.7297 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/0.2838, allocations: 143.1 kB / 0.7299 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006533/0.2903, allocations: 2.195 MB / 0.732 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.2904, allocations: 11.94 kB / 0.732 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.2904, allocations: 8 kB / 0.732 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.2904, allocations: 3.984 kB / 0.732 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.2926, allocations: 1.333 MB / 0.7333 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006015/0.2986, allocations: 2.017 MB / 0.7353 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.2993, allocations: 103.9 kB / 0.7354 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.3005, allocations: 434.2 kB / 0.7358 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.3008, allocations: 39.97 kB / 0.7359 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/0.3126, allocations: 6.832 MB / 0.7425 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3126, allocations: 8.094 kB / 0.7426 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006996/0.3196, allocations: 2.197 MB / 0.7447 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000984/0.3206, allocations: 383.6 kB / 0.7451 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/0.321, allocations: 23.98 kB / 0.7451 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.3221, allocations: 63.88 kB / 0.7451 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004147/0.3225, allocations: 108.9 kB / 0.7452 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.3227, allocations: 39.97 kB / 0.7453 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.3926/0.7153, allocations: 0.7401 MB / 0.746 GB, free: 67.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7153, allocations: 0 / 0.746 GB, free: 67.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002507/0.7178, allocations: 419 kB / 0.7464 GB, free: 67.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 1 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008607/0.7265, allocations: 3.183 MB / 0.7495 GB, free: 66.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004729/0.7312, allocations: 2.327 MB / 0.7518 GB, free: 65.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.7313, allocations: 0 / 0.7518 GB, free: 65.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.7344, allocations: 1.64 MB / 0.7534 GB, free: 64.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.7357, allocations: 171.3 kB / 0.7536 GB, free: 64.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02929/0.765, allocations: 11.66 MB / 0.7649 GB, free: 59.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.7661, allocations: 1.204 MB / 0.7661 GB, free: 58.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001029/0.7672, allocations: 205.8 kB / 0.7663 GB, free: 58.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007496/0.7679, allocations: 0.5087 MB / 0.7668 GB, free: 58.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.823e-06/0.7679, allocations: 1.156 kB / 0.7668 GB, free: 58.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06769/0.8356, allocations: 31.66 MB / 0.7977 GB, free: 36.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.26/23.1, allocations: 4.25 kB / 0.7977 GB, free: 36.14 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe >> ../files/BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1800 BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample.fmu > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1)