Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001164/0.001164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001145/0.001145, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8055/0.8055, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 56.66 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1212, allocations: 80.94 MB / 0.584 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005024/0.1263, allocations: 4.189 MB / 0.5881 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3249/0.4512, allocations: 148.3 MB / 0.7329 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005866/0.4518, allocations: 20.94 kB / 0.7329 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005385/0.4524, allocations: 129.7 kB / 0.733 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.4538, allocations: 420.6 kB / 0.7334 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.4554, allocations: 0.7136 MB / 0.7341 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.4567, allocations: 1.207 MB / 0.7353 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008848/0.4576, allocations: 0.7037 MB / 0.736 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.4582, allocations: 465.2 kB / 0.7364 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006099/0.4588, allocations: 497.8 kB / 0.7369 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.459, allocations: 115.2 kB / 0.737 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006772/0.4597, allocations: 463.4 kB / 0.7375 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.4599, allocations: 295.9 kB / 0.7377 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.4604, allocations: 0.5331 MB / 0.7383 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.4619, allocations: 1.544 MB / 0.7398 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4619, allocations: 0 / 0.7398 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4619, allocations: 1.375 kB / 0.7398 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.195e-05/0.4619, allocations: 0 / 0.7398 GB, free: 10.2 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002484/0.4644, allocations: 1.403 MB / 0.7411 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4645, allocations: 9.688 kB / 0.7412 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.4647, allocations: 142.2 kB / 0.7413 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.4664, allocations: 298.5 kB / 0.7416 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008932/0.4673, allocations: 0.7295 MB / 0.7423 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.4673, allocations: 65.75 kB / 0.7423 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.4675, allocations: 91.12 kB / 0.7424 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.4691, allocations: 1.016 MB / 0.7434 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.4691, allocations: 0 / 0.7434 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.4692, allocations: 39.45 kB / 0.7435 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.4692, allocations: 23.41 kB / 0.7435 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.4711, allocations: 1.219 MB / 0.7447 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.4747, allocations: 2.578 MB / 0.7472 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.4769, allocations: 0.9334 MB / 0.7481 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006558/0.4776, allocations: 330.7 kB / 0.7484 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.42e-05/0.4777, allocations: 36.67 kB / 0.7485 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00094/0.4786, allocations: 491.2 kB / 0.7489 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 1.793e-06/0.4786, allocations: 0 / 0.7489 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003248/0.4819, allocations: 1.233 MB / 0.7501 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.482, allocations: 192.6 kB / 0.7503 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.4826, allocations: 0.6017 MB / 0.7509 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.4826, allocations: 37.7 kB / 0.7509 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.4829, allocations: 404.2 kB / 0.7513 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.4831, allocations: 248.4 kB / 0.7516 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.4833, allocations: 142.2 kB / 0.7517 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4834, allocations: 382.7 kB / 0.7521 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/0.484, allocations: 269.1 kB / 0.7523 GB, free: 244 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/0.4848, allocations: 378.8 kB / 0.7527 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.4861, allocations: 0.6292 MB / 0.7533 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4861, allocations: 0 / 0.7533 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002024/0.4881, allocations: 0.8174 MB / 0.7541 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4882, allocations: 11.94 kB / 0.7541 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4882, allocations: 0 / 0.7541 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.4888, allocations: 92.73 kB / 0.7542 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.4895, allocations: 163.8 kB / 0.7543 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.4913, allocations: 1.625 MB / 0.7559 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/0.492, allocations: 103.3 kB / 0.756 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.492, allocations: 27.98 kB / 0.7561 GB, free: 12.21 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: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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.0003094/0.4923, allocations: 261.6 kB / 0.7563 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.4925, allocations: 75.06 kB / 0.7564 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.4951, allocations: 1.1 MB / 0.7575 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4951, allocations: 8 kB / 0.7575 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4951, allocations: 3.938 kB / 0.7575 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.4951, allocations: 7.984 kB / 0.7575 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.4984, allocations: 2.045 MB / 0.7595 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4985, allocations: 0 / 0.7595 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/0.4992, allocations: 163.8 kB / 0.7596 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/0.4996, allocations: 72.78 kB / 0.7597 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.4996, allocations: 23.98 kB / 0.7597 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.5013, allocations: 1.666 MB / 0.7613 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5013, allocations: 0 / 0.7613 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.5034, allocations: 1.027 MB / 0.7623 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.5037, allocations: 255.8 kB / 0.7626 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.5038, allocations: 20 kB / 0.7626 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006802/0.5045, allocations: 71.92 kB / 0.7627 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.5046, allocations: 64.91 kB / 0.7627 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.5047, allocations: 31.98 kB / 0.7628 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004375/0.5052, allocations: 439 kB / 0.7632 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5052, allocations: 0 / 0.7632 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006902/0.5059, allocations: 303.1 kB / 0.7635 GB, free: 4.359 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003405/0.5093, allocations: 2.071 MB / 0.7655 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.5116, allocations: 1.028 MB / 0.7665 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5116, allocations: 4 kB / 0.7665 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.5126, allocations: 0.543 MB / 0.767 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.5137, allocations: 283.2 kB / 0.7673 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.5254, allocations: 6.971 MB / 0.7741 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.526, allocations: 1.025 MB / 0.7751 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008129/0.5268, allocations: 262.2 kB / 0.7754 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/0.5273, allocations: 379.3 kB / 0.7757 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5273, allocations: 4 kB / 0.7757 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6698/1.197, allocations: 20.41 MB / 0.7957 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/1.197, allocations: 319.5 kB / 0.796 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/3.277, allocations: 0 / 0.796 GB, free: 3.449 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)