Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_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.005002/0.005002, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001368/0.001368, allocations: 189.8 kB / 16.67 MB, free: 5.973 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.563/2.563, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 63.91 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2668, allocations: 162.3 MB / 1.242 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008036/0.2749, allocations: 6.949 MB / 1.249 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6286/0.9035, allocations: 155.4 MB / 1.4 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.9046, allocations: 25.19 kB / 1.4 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004226/0.9089, allocations: 1.821 MB / 1.402 GB, free: 10.97 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.9114, allocations: 0.8895 MB / 1.403 GB, free: 10.3 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.9137, allocations: 0.9878 MB / 1.404 GB, free: 9.547 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002362/0.9161, allocations: 2.577 MB / 1.407 GB, free: 7.977 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.9172, allocations: 0.9494 MB / 1.407 GB, free: 7.383 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009516/0.9182, allocations: 0.895 MB / 1.408 GB, free: 6.855 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.9192, allocations: 0.9342 MB / 1.409 GB, free: 6.215 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.9194, allocations: 184.8 kB / 1.409 GB, free: 6.215 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.9227, allocations: 2.264 MB / 1.412 GB, free: 5.062 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0009485/0.9237, allocations: 1.208 MB / 1.413 GB, free: 4.402 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.925, allocations: 1.424 MB / 1.414 GB, free: 3.355 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005411/0.9304, allocations: 5.474 MB / 1.42 GB, free: 15.89 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.9304, allocations: 2.531 kB / 1.42 GB, free: 15.89 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9304, allocations: 0 / 1.42 GB, free: 15.89 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.975e-05/0.9304, allocations: 0 / 1.42 GB, free: 15.89 MB / 1.123 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.006187/0.9366, allocations: 4.072 MB / 1.424 GB, free: 13.06 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.9367, allocations: 12.03 kB / 1.424 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.9369, allocations: 190.3 kB / 1.424 GB, free: 12.85 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.9381, allocations: 366.9 kB / 1.424 GB, free: 12.49 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08421/1.022, allocations: 87.68 MB / 1.51 GB, free: 4.711 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.88e-05/1.022, allocations: 102.5 kB / 1.51 GB, free: 4.609 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/1.023, allocations: 136 kB / 1.51 GB, free: 4.477 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/1.025, allocations: 1.353 MB / 1.511 GB, free: 3.062 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/1.025, allocations: 4 kB / 1.511 GB, free: 3.059 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.025, allocations: 55.98 kB / 1.511 GB, free: 3.004 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/1.025, allocations: 32 kB / 1.511 GB, free: 2.973 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/1.027, allocations: 1.493 MB / 1.513 GB, free: 1.473 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02122/1.049, allocations: 23.99 MB / 1.536 GB, free: 9.266 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/1.051, allocations: 1.118 MB / 1.537 GB, free: 8.145 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007171/1.051, allocations: 451.6 kB / 1.538 GB, free: 7.699 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 8.006e-05/1.051, allocations: 29.11 kB / 1.538 GB, free: 7.672 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/1.052, allocations: 0.6622 MB / 1.538 GB, free: 6.992 MB / 1.232 GB Notification: Performance of pre-optimization done (n=100): time 2.124e-06/1.052, allocations: 0 / 1.538 GB, free: 6.992 MB / 1.232 GB Notification: Performance of matching and sorting (n=100): time 0.00422/1.057, allocations: 1.75 MB / 1.54 GB, free: 5.215 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.057, allocations: 192.9 kB / 1.54 GB, free: 4.984 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1071/1.164, allocations: 99.42 MB / 1.637 GB, free: 1.52 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0002477/1.164, allocations: 49.7 kB / 1.637 GB, free: 1.465 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/1.165, allocations: 1.07 MB / 1.638 GB, free: 400 kB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/1.166, allocations: 337.1 kB / 1.639 GB, free: 60 kB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/1.166, allocations: 246.8 kB / 1.639 GB, free: 15.81 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.166, allocations: 349.9 kB / 1.639 GB, free: 15.46 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000865/1.167, allocations: 494.4 kB / 1.64 GB, free: 14.98 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009737/1.168, allocations: 0.6246 MB / 1.64 GB, free: 14.32 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/1.17, allocations: 1.006 MB / 1.641 GB, free: 13.3 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.17, allocations: 0 / 1.641 GB, free: 13.3 MB / 1.342 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003319/1.173, allocations: 1.515 MB / 1.643 GB, free: 11.77 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.173, allocations: 12.14 kB / 1.643 GB, free: 11.76 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.173, allocations: 0 / 1.643 GB, free: 11.76 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/1.174, allocations: 84.78 kB / 1.643 GB, free: 11.68 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/1.175, allocations: 239.7 kB / 1.643 GB, free: 11.44 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/1.177, allocations: 1.639 MB / 1.645 GB, free: 9.656 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.178, allocations: 281.3 kB / 1.645 GB, free: 9.383 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/1.178, allocations: 51.97 kB / 1.645 GB, free: 9.332 MB / 1.342 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.001086/1.179, allocations: 0.8028 MB / 1.646 GB, free: 8.52 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004862/1.18, allocations: 234.5 kB / 1.646 GB, free: 8.289 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/1.183, allocations: 1.631 MB / 1.648 GB, free: 6.648 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.183, allocations: 12 kB / 1.648 GB, free: 6.637 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/1.183, allocations: 0 / 1.648 GB, free: 6.637 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/1.183, allocations: 11.97 kB / 1.648 GB, free: 6.625 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/1.185, allocations: 1.962 MB / 1.65 GB, free: 4.613 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.185, allocations: 0 / 1.65 GB, free: 4.613 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/1.186, allocations: 183.7 kB / 1.65 GB, free: 4.434 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/1.186, allocations: 72.78 kB / 1.65 GB, free: 4.359 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/1.186, allocations: 31.97 kB / 1.65 GB, free: 4.328 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/1.188, allocations: 1.658 MB / 1.652 GB, free: 2.523 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.188, allocations: 7.875 kB / 1.652 GB, free: 2.516 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/1.191, allocations: 1.362 MB / 1.653 GB, free: 1.133 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009891/1.192, allocations: 0.776 MB / 1.654 GB, free: 344 kB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/1.192, allocations: 28 kB / 1.654 GB, free: 316 kB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.193, allocations: 188 kB / 1.654 GB, free: 128 kB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/1.193, allocations: 88.81 kB / 1.654 GB, free: 36 kB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-05/1.194, allocations: 44.03 kB / 1.654 GB, free: 15.99 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.07232/1.266, allocations: 79.4 MB / 1.732 GB, free: 0.5625 MB / 1.42 GB Notification: Performance of sort global known variables: time 5.21e-07/1.266, allocations: 4 kB / 1.732 GB, free: 0.5586 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.002709/1.269, allocations: 1.029 MB / 1.733 GB, free: 15.53 MB / 1.436 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.005489/1.274, allocations: 2.78 MB / 1.735 GB, free: 12.89 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.002148/1.276, allocations: 1.235 MB / 1.737 GB, free: 11.65 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.276, allocations: 320 / 1.737 GB, free: 11.65 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.277, allocations: 0.6797 MB / 1.737 GB, free: 10.95 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/1.279, allocations: 427.4 kB / 1.738 GB, free: 10.55 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7398/2.019, allocations: 407.1 MB / 2.135 GB, free: 268.2 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/2.02, allocations: 1.718 MB / 2.137 GB, free: 266.5 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.001705/2.022, allocations: 0.7759 MB / 2.138 GB, free: 265.8 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/2.023, allocations: 1.101 MB / 2.139 GB, free: 264.7 MB / 1.514 GB Notification: Performance of SimCode: time 5.91e-07/2.023, allocations: 0 / 2.139 GB, free: 264.7 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.043/5.066, allocations: 108.4 MB / 2.244 GB, free: 157.6 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/21.05, allocations: 17.09 kB / 2.244 GB, free: 157.6 MB / 1.514 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)