Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001366/0.001366, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.175/1.175, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6574/0.6574, allocations: 132.2 MB / 422.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 59.66 kB / 0.5014 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2821, allocations: 80.2 MB / 0.5797 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004333/0.2865, allocations: 4.209 MB / 0.5838 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1295/0.416, allocations: 148.3 MB / 0.7286 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/0.4168, allocations: 11.94 kB / 0.7286 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.4173, allocations: 127 kB / 0.7288 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.4187, allocations: 429.1 kB / 0.7292 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.4204, allocations: 0.7271 MB / 0.7299 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.4214, allocations: 1.199 MB / 0.731 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007205/0.4222, allocations: 0.6866 MB / 0.7317 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.4226, allocations: 462.3 kB / 0.7322 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.423, allocations: 487.9 kB / 0.7326 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.4231, allocations: 116 kB / 0.7327 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.4237, allocations: 487.6 kB / 0.7332 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.4239, allocations: 287 kB / 0.7335 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.4243, allocations: 0.5323 MB / 0.734 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.4255, allocations: 1.542 MB / 0.7355 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4255, allocations: 0 / 0.7355 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4255, allocations: 3.938 kB / 0.7355 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.4255, allocations: 0 / 0.7355 GB, free: 1.574 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001762/0.4273, allocations: 1.4 MB / 0.7369 GB, free: 120 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.4273, allocations: 8.031 kB / 0.7369 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.4275, allocations: 143.9 kB / 0.737 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009543/0.4284, allocations: 203.4 kB / 0.7372 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.4292, allocations: 0.7303 MB / 0.7379 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/0.4293, allocations: 70 kB / 0.738 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.4294, allocations: 84 kB / 0.7381 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.4307, allocations: 0.9533 MB / 0.739 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.4307, allocations: 0 / 0.739 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.4308, allocations: 47.94 kB / 0.739 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.4308, allocations: 20 kB / 0.7391 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.4324, allocations: 1.128 MB / 0.7402 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.4355, allocations: 2.558 MB / 0.7427 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.4368, allocations: 0.8322 MB / 0.7435 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.4372, allocations: 278.7 kB / 0.7437 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.4378, allocations: 474.3 kB / 0.7442 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007132/0.4385, allocations: 439 kB / 0.7446 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.683e-06/0.4385, allocations: 0 / 0.7446 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002606/0.4411, allocations: 1.108 MB / 0.7457 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.4412, allocations: 188.6 kB / 0.7459 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.4418, allocations: 0.598 MB / 0.7465 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.4418, allocations: 41.7 kB / 0.7465 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.4421, allocations: 404.1 kB / 0.7469 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4422, allocations: 240.5 kB / 0.7471 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.4424, allocations: 134.2 kB / 0.7472 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4425, allocations: 386.7 kB / 0.7476 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.4429, allocations: 221.2 kB / 0.7478 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.4434, allocations: 326.8 kB / 0.7481 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.4443, allocations: 0.5471 MB / 0.7487 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4444, allocations: 0 / 0.7487 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001555/0.4459, allocations: 0.7352 MB / 0.7494 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.4459, allocations: 4 kB / 0.7494 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.446, allocations: 4 kB / 0.7494 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.4465, allocations: 80.81 kB / 0.7495 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.447, allocations: 139.8 kB / 0.7496 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.4487, allocations: 1.631 MB / 0.7512 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.4492, allocations: 79.41 kB / 0.7513 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.4493, allocations: 27.98 kB / 0.7513 GB, free: 0.7344 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 (76): * Single equations (assignments): 75 * 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.0002751/0.4496, allocations: 259.1 kB / 0.7515 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.4497, allocations: 79.06 kB / 0.7516 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.4517, allocations: 0.9944 MB / 0.7526 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.4517, allocations: 8 kB / 0.7526 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.4517, allocations: 3.938 kB / 0.7526 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4518, allocations: 7.969 kB / 0.7526 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.4544, allocations: 1.9 MB / 0.7545 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4544, allocations: 0 / 0.7545 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.4549, allocations: 143.8 kB / 0.7546 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/0.4553, allocations: 72.78 kB / 0.7547 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.4554, allocations: 23.98 kB / 0.7547 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.4569, allocations: 1.666 MB / 0.7563 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.457, allocations: 7.969 kB / 0.7563 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.4585, allocations: 0.9179 MB / 0.7572 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.4588, allocations: 259.8 kB / 0.7575 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/0.4589, allocations: 16 kB / 0.7575 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.4594, allocations: 59.94 kB / 0.7575 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.4595, allocations: 60.91 kB / 0.7576 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.4596, allocations: 27.98 kB / 0.7576 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004115/0.46, allocations: 439 kB / 0.758 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.46, allocations: 3.938 kB / 0.7581 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006091/0.4606, allocations: 315.1 kB / 0.7584 GB, free: 9.246 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: 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 (84): * Single equations (assignments): 81 * 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.002903/0.4636, allocations: 1.982 MB / 0.7603 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.4653, allocations: 0.9191 MB / 0.7612 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4653, allocations: 0 / 0.7612 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.4661, allocations: 0.4924 MB / 0.7617 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/0.467, allocations: 280.4 kB / 0.7619 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/0.4767, allocations: 6.627 MB / 0.7684 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.4771, allocations: 1.027 MB / 0.7694 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006815/0.4778, allocations: 250.3 kB / 0.7696 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.4782, allocations: 379.2 kB / 0.77 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.4782, allocations: 0 / 0.77 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7323/1.211, allocations: 20.11 MB / 0.7896 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/1.211, allocations: 302.7 kB / 0.7899 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/3.383, allocations: 3.5 kB / 0.7899 GB, free: 9.289 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)