Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001632/0.001632, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002409/0.002409, allocations: 290.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.046/1.046, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 103.2 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1509, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006584/0.1576, allocations: 4.728 MB / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4243/0.5819, allocations: 150.7 MB / 0.8321 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007838/0.5827, allocations: 20.72 kB / 0.8321 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.5833, allocations: 191.4 kB / 0.8323 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.5851, allocations: 0.5294 MB / 0.8328 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.5869, allocations: 0.8583 MB / 0.8336 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.5883, allocations: 1.44 MB / 0.835 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.5895, allocations: 0.9242 MB / 0.8359 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007348/0.5902, allocations: 0.579 MB / 0.8365 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.591, allocations: 0.6297 MB / 0.8371 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.5913, allocations: 155.4 kB / 0.8373 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009571/0.5923, allocations: 499 kB / 0.8377 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.5925, allocations: 370.4 kB / 0.8381 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.5931, allocations: 0.6987 MB / 0.8388 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.5947, allocations: 1.923 MB / 0.8407 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5947, allocations: 3.938 kB / 0.8407 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5947, allocations: 0 / 0.8407 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.5948, allocations: 0.9688 kB / 0.8407 GB, free: 15.5 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00264/0.5974, allocations: 1.676 MB / 0.8423 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5975, allocations: 20.69 kB / 0.8423 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.5976, allocations: 183.7 kB / 0.8425 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009138/0.5986, allocations: 220.4 kB / 0.8427 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.5997, allocations: 0.8418 MB / 0.8435 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.5998, allocations: 91.56 kB / 0.8436 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.5999, allocations: 120.8 kB / 0.8437 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.6017, allocations: 1.204 MB / 0.8449 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6018, allocations: 0 / 0.8449 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.6019, allocations: 50.97 kB / 0.845 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.6019, allocations: 28.31 kB / 0.845 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.6038, allocations: 1.283 MB / 0.8462 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004387/0.6082, allocations: 3.163 MB / 0.8493 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.6097, allocations: 0.8734 MB / 0.8502 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.6102, allocations: 319.4 kB / 0.8505 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-05/0.6103, allocations: 29.66 kB / 0.8505 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008578/0.6112, allocations: 0.5188 MB / 0.851 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 2.504e-06/0.6112, allocations: 2.312 kB / 0.851 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.003847/0.615, allocations: 1.279 MB / 0.8523 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.6152, allocations: 195.2 kB / 0.8524 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009024/0.6161, allocations: 0.7275 MB / 0.8532 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.904e-05/0.6161, allocations: 45.95 kB / 0.8532 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.6165, allocations: 0.519 MB / 0.8537 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.6168, allocations: 284.2 kB / 0.854 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.617, allocations: 159.8 kB / 0.8541 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6171, allocations: 341.9 kB / 0.8545 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.6176, allocations: 263 kB / 0.8547 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.6183, allocations: 387.1 kB / 0.8551 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.6194, allocations: 0.6329 MB / 0.8557 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6194, allocations: 0 / 0.8557 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002046/0.6215, allocations: 0.8678 MB / 0.8565 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6215, allocations: 4.875 kB / 0.8565 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6215, allocations: 0 / 0.8565 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.6221, allocations: 90.17 kB / 0.8566 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.6228, allocations: 166.5 kB / 0.8568 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.6249, allocations: 1.626 MB / 0.8584 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007966/0.6257, allocations: 102 kB / 0.8585 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.6258, allocations: 34.66 kB / 0.8585 GB, free: 3.371 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0006423/0.6264, allocations: 296.8 kB / 0.8588 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.6267, allocations: 96.22 kB / 0.8589 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.6293, allocations: 1.13 MB / 0.86 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.6294, allocations: 17.75 kB / 0.86 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6294, allocations: 0 / 0.86 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.6294, allocations: 6.391 kB / 0.86 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.6308, allocations: 1.046 MB / 0.861 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6308, allocations: 2.625 kB / 0.861 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.6314, allocations: 153.3 kB / 0.8612 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/0.6319, allocations: 75.09 kB / 0.8613 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.632, allocations: 27.5 kB / 0.8613 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.6341, allocations: 1.66 MB / 0.8629 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.958e-05/0.6341, allocations: 4.078 kB / 0.8629 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.6362, allocations: 0.9896 MB / 0.8639 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.6367, allocations: 281.7 kB / 0.8641 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.6369, allocations: 35.47 kB / 0.8642 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007306/0.6376, allocations: 61.98 kB / 0.8642 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.6378, allocations: 75.91 kB / 0.8643 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.21e-05/0.6379, allocations: 34.94 kB / 0.8643 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008164/0.6388, allocations: 0.5176 MB / 0.8648 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6388, allocations: 3.25 kB / 0.8648 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001408/0.6402, allocations: 355.8 kB / 0.8652 GB, free: 14.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003981/0.6442, allocations: 2.035 MB / 0.8672 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002659/0.6469, allocations: 1.076 MB / 0.8682 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6469, allocations: 0 / 0.8682 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.648, allocations: 0.5364 MB / 0.8687 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6495, allocations: 302 kB / 0.869 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.663, allocations: 7.483 MB / 0.8763 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009022/0.664, allocations: 1.106 MB / 0.8774 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001033/0.665, allocations: 279.4 kB / 0.8777 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007135/0.6658, allocations: 479.2 kB / 0.8781 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.6658, allocations: 4 kB / 0.8782 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/0.8102, allocations: 23.06 MB / 0.9007 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.57, allocations: 16 kB / 0.9007 GB, free: 14.8 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)