Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.004462/0.004467, allocations: 101 kB / 15.73 MB, free: 6.039 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.001242/0.001242, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.034/2.034, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6619/0.6639, allocations: 140.4 MB / 1.087 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005696/0.6697, allocations: 5.733 MB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1574/0.8271, allocations: 155.2 MB / 1.245 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.8282, allocations: 25.03 kB / 1.245 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003702/0.8319, allocations: 1.777 MB / 1.246 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.8339, allocations: 0.7909 MB / 1.247 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.8361, allocations: 0.9817 MB / 1.248 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.8382, allocations: 2.369 MB / 1.25 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.8394, allocations: 0.9759 MB / 1.251 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009433/0.8403, allocations: 0.872 MB / 1.252 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008746/0.8412, allocations: 0.8947 MB / 1.253 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.8415, allocations: 184 kB / 1.253 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.8446, allocations: 2.266 MB / 1.256 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008185/0.8455, allocations: 1.22 MB / 1.257 GB, free: 316 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.8466, allocations: 1.384 MB / 1.258 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004619/0.8512, allocations: 5.376 MB / 1.263 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8512, allocations: 0 / 1.263 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8512, allocations: 4 kB / 1.263 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.8513, allocations: 0 / 1.263 GB, free: 9.523 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006043/0.8573, allocations: 3.944 MB / 1.267 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.8574, allocations: 8.031 kB / 1.267 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/0.8576, allocations: 194.2 kB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.8587, allocations: 353.3 kB / 1.268 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.074/0.9328, allocations: 87.62 MB / 1.353 GB, free: 13.24 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.9329, allocations: 102.5 kB / 1.353 GB, free: 13.14 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.9331, allocations: 136 kB / 1.354 GB, free: 13.01 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.9351, allocations: 1.36 MB / 1.355 GB, free: 11.59 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.9352, allocations: 0 / 1.355 GB, free: 11.59 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.9353, allocations: 59.94 kB / 1.355 GB, free: 11.53 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.9353, allocations: 32 kB / 1.355 GB, free: 11.5 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.9375, allocations: 1.496 MB / 1.356 GB, free: 9.992 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.9555, allocations: 23.4 MB / 1.379 GB, free: 2.504 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.9575, allocations: 1.119 MB / 1.38 GB, free: 1.375 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.9582, allocations: 443.6 kB / 1.381 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.65e-05/0.9582, allocations: 37.09 kB / 1.381 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009477/0.9592, allocations: 0.6605 MB / 1.381 GB, free: 228 kB / 1.107 GB Notification: Performance of pre-optimization done (n=100): time 2.435e-06/0.9592, allocations: 0 / 1.381 GB, free: 228 kB / 1.107 GB Notification: Performance of matching and sorting (n=100): time 0.004006/0.9632, allocations: 1.737 MB / 1.383 GB, free: 14.46 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.9633, allocations: 196.9 kB / 1.383 GB, free: 14.22 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09251/1.056, allocations: 99.41 MB / 1.48 GB, free: 10.77 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002661/1.056, allocations: 49.7 kB / 1.48 GB, free: 10.71 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009645/1.057, allocations: 1.057 MB / 1.481 GB, free: 9.645 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/1.057, allocations: 327.2 kB / 1.482 GB, free: 9.324 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/1.058, allocations: 242.8 kB / 1.482 GB, free: 9.082 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.058, allocations: 345.9 kB / 1.482 GB, free: 8.738 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008229/1.059, allocations: 494.4 kB / 1.483 GB, free: 8.254 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009098/1.06, allocations: 0.6285 MB / 1.483 GB, free: 7.59 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/1.061, allocations: 1.006 MB / 1.484 GB, free: 6.57 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/1.061, allocations: 0 / 1.484 GB, free: 6.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003131/1.064, allocations: 1.51 MB / 1.486 GB, free: 5.047 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.064, allocations: 8 kB / 1.486 GB, free: 5.039 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.064, allocations: 0 / 1.486 GB, free: 5.039 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/1.065, allocations: 80.84 kB / 1.486 GB, free: 4.957 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/1.066, allocations: 243.6 kB / 1.486 GB, free: 4.719 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/1.068, allocations: 1.63 MB / 1.488 GB, free: 2.941 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.069, allocations: 266.4 kB / 1.488 GB, free: 2.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/1.069, allocations: 52.03 kB / 1.488 GB, free: 2.629 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009385/1.07, allocations: 0.8194 MB / 1.489 GB, free: 1.793 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004822/1.071, allocations: 217.1 kB / 1.489 GB, free: 1.578 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/1.073, allocations: 1.616 MB / 1.491 GB, free: 15.95 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.073, allocations: 19.88 kB / 1.491 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.074, allocations: 0 / 1.491 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.074, allocations: 7.969 kB / 1.491 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/1.075, allocations: 1.963 MB / 1.493 GB, free: 13.91 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.075, allocations: 0 / 1.493 GB, free: 13.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/1.076, allocations: 183.8 kB / 1.493 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004148/1.077, allocations: 72.72 kB / 1.493 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/1.077, allocations: 31.97 kB / 1.493 GB, free: 13.62 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/1.078, allocations: 1.662 MB / 1.495 GB, free: 11.81 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.078, allocations: 0 / 1.495 GB, free: 11.81 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/1.081, allocations: 1.364 MB / 1.496 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.082, allocations: 0.7631 MB / 1.497 GB, free: 9.641 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/1.082, allocations: 24 kB / 1.497 GB, free: 9.617 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.083, allocations: 179.9 kB / 1.497 GB, free: 9.441 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.084, allocations: 88.88 kB / 1.497 GB, free: 9.352 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/1.084, allocations: 39.98 kB / 1.497 GB, free: 9.312 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.06083/1.145, allocations: 79.4 MB / 1.574 GB, free: 9.879 MB / 1.311 GB Notification: Performance of sort global known variables: time 4.3e-07/1.145, allocations: 0 / 1.574 GB, free: 9.879 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002342/1.147, allocations: 0.9947 MB / 1.575 GB, free: 8.883 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004757/1.152, allocations: 2.768 MB / 1.578 GB, free: 6.266 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.002061/1.154, allocations: 1.235 MB / 1.579 GB, free: 5.02 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.154, allocations: 4.312 kB / 1.579 GB, free: 5.016 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.155, allocations: 0.672 MB / 1.58 GB, free: 4.328 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.156, allocations: 407.9 kB / 1.58 GB, free: 3.949 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.686/1.842, allocations: 407.1 MB / 1.978 GB, free: 98.62 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/1.843, allocations: 1.722 MB / 1.98 GB, free: 96.89 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001586/1.845, allocations: 0.768 MB / 1.98 GB, free: 96.22 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.846, allocations: 1.108 MB / 1.981 GB, free: 95.12 MB / 1.311 GB Notification: Performance of SimCode: time 7.32e-07/1.846, allocations: 0 / 1.981 GB, free: 95.12 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.528/6.374, allocations: 107.7 MB / 2.087 GB, free: 4.496 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.17/32.55, allocations: 7.75 kB / 2.087 GB, free: 4.488 MB / 1.326 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)