Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_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.0015/0.0015, allocations: 108 kB / 15.6 MB, free: 132 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.001761/0.001761, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 290.9 kB / 290.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9524/0.9524, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 102.7 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1299, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005404/0.1353, allocations: 4.337 MB / 0.6845 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4061/0.5414, allocations: 150.5 MB / 0.8315 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.5422, allocations: 15.03 kB / 0.8315 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.5428, allocations: 173.4 kB / 0.8317 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.5443, allocations: 0.4927 MB / 0.8322 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.5459, allocations: 0.8266 MB / 0.833 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.5469, allocations: 1.286 MB / 0.8343 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007552/0.5477, allocations: 0.621 MB / 0.8349 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005501/0.5482, allocations: 465.1 kB / 0.8353 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.5487, allocations: 490.6 kB / 0.8358 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.5489, allocations: 114.3 kB / 0.8359 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007585/0.5496, allocations: 459.1 kB / 0.8363 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.5499, allocations: 296.4 kB / 0.8366 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.5502, allocations: 0.5418 MB / 0.8371 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.5517, allocations: 1.558 MB / 0.8387 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5517, allocations: 0 / 0.8387 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5517, allocations: 1.594 kB / 0.8387 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.5517, allocations: 0 / 0.8387 GB, free: 15.9 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002289/0.554, allocations: 1.412 MB / 0.84 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.554, allocations: 9.625 kB / 0.84 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.5542, allocations: 133.1 kB / 0.8402 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008987/0.5551, allocations: 185.7 kB / 0.8404 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.556, allocations: 0.7388 MB / 0.8411 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.5561, allocations: 64.38 kB / 0.8411 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/0.5562, allocations: 80.47 kB / 0.8412 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.5576, allocations: 0.9122 MB / 0.8421 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.5576, allocations: 6.406 kB / 0.8421 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.5577, allocations: 39.72 kB / 0.8421 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.5577, allocations: 20.62 kB / 0.8422 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.5594, allocations: 1.111 MB / 0.8432 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.5628, allocations: 2.488 MB / 0.8457 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.5642, allocations: 0.7992 MB / 0.8465 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.5647, allocations: 298.5 kB / 0.8467 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.5648, allocations: 32.59 kB / 0.8468 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008067/0.5656, allocations: 0.4902 MB / 0.8473 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.534e-06/0.5656, allocations: 0 / 0.8473 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003027/0.5686, allocations: 1.187 MB / 0.8484 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.5687, allocations: 192.5 kB / 0.8486 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000674/0.5694, allocations: 0.6256 MB / 0.8492 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.5695, allocations: 46.97 kB / 0.8493 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.5698, allocations: 392 kB / 0.8496 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.5699, allocations: 260.8 kB / 0.8499 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.5702, allocations: 141.1 kB / 0.85 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5703, allocations: 392.8 kB / 0.8504 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.5708, allocations: 244.2 kB / 0.8506 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.5713, allocations: 358 kB / 0.851 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.5723, allocations: 0.5802 MB / 0.8515 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5723, allocations: 0 / 0.8515 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001714/0.5741, allocations: 0.799 MB / 0.8523 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5741, allocations: 5.656 kB / 0.8523 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.5741, allocations: 4.094 kB / 0.8523 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/0.5747, allocations: 84.73 kB / 0.8524 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.5753, allocations: 152.7 kB / 0.8525 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.5771, allocations: 1.635 MB / 0.8541 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.5778, allocations: 94.52 kB / 0.8542 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.5778, allocations: 27.45 kB / 0.8543 GB, free: 6.078 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 (87): * Single equations (assignments): 86 * 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.0003406/0.5782, allocations: 275.3 kB / 0.8545 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5783, allocations: 80.47 kB / 0.8546 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.5805, allocations: 1.066 MB / 0.8556 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5805, allocations: 9.875 kB / 0.8556 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.5805, allocations: 0 / 0.8556 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5806, allocations: 7.922 kB / 0.8557 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008703/0.5814, allocations: 0.8955 MB / 0.8565 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5814, allocations: 0 / 0.8565 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.582, allocations: 142.2 kB / 0.8567 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.5824, allocations: 83.06 kB / 0.8567 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.5825, allocations: 27.05 kB / 0.8568 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.5842, allocations: 1.657 MB / 0.8584 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5843, allocations: 4.062 kB / 0.8584 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.586, allocations: 0.9225 MB / 0.8593 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.5863, allocations: 271.2 kB / 0.8595 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.5865, allocations: 17.25 kB / 0.8596 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/0.587, allocations: 64.17 kB / 0.8596 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.5872, allocations: 69.94 kB / 0.8597 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/0.5873, allocations: 34.56 kB / 0.8597 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004868/0.5878, allocations: 464.8 kB / 0.8602 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5878, allocations: 4 kB / 0.8602 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007038/0.5885, allocations: 301 kB / 0.8605 GB, free: 1.66 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: 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 (91): * Single equations (assignments): 85 * 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.003117/0.5916, allocations: 1.969 MB / 0.8624 GB, free: 468 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.5936, allocations: 0.9978 MB / 0.8634 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5936, allocations: 1.906 kB / 0.8634 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008464/0.5945, allocations: 0.515 MB / 0.8639 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.5956, allocations: 295.7 kB / 0.8641 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009847/0.6054, allocations: 6.438 MB / 0.8704 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.6059, allocations: 1.023 MB / 0.8714 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007755/0.6067, allocations: 260.5 kB / 0.8717 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004773/0.6072, allocations: 381.8 kB / 0.872 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.6072, allocations: 0 / 0.872 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5105/1.118, allocations: 20.87 MB / 0.8924 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.9, allocations: 16.09 kB / 0.8924 GB, free: 7.172 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)