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.001147/0.001147, 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.001267/0.001267, allocations: 193.1 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.205/1.205, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6911/0.6911, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.3 kB / 0.5019 GB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1266, allocations: 80.19 MB / 0.5802 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005022/0.1316, allocations: 4.196 MB / 0.5843 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3401/0.4717, allocations: 150.5 MB / 0.7313 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007/0.4724, allocations: 20.12 kB / 0.7313 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006363/0.4731, allocations: 165.7 kB / 0.7315 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.4748, allocations: 482.3 kB / 0.7319 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.4767, allocations: 0.8124 MB / 0.7327 GB, free: 328 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.478, allocations: 1.196 MB / 0.7339 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008761/0.4789, allocations: 0.6841 MB / 0.7346 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.4795, allocations: 456.3 kB / 0.735 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005572/0.4801, allocations: 487.8 kB / 0.7355 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.4803, allocations: 111.8 kB / 0.7356 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008836/0.4812, allocations: 482.1 kB / 0.736 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.4814, allocations: 287.2 kB / 0.7363 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.4819, allocations: 0.5374 MB / 0.7368 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.4833, allocations: 1.545 MB / 0.7383 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4833, allocations: 0 / 0.7383 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4833, allocations: 3.125 kB / 0.7383 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.4833, allocations: 0 / 0.7383 GB, free: 13.52 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.002053/0.4854, allocations: 1.4 MB / 0.7397 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.4854, allocations: 8.5 kB / 0.7397 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.4856, allocations: 143.2 kB / 0.7399 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.4866, allocations: 209.1 kB / 0.7401 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008535/0.4875, allocations: 0.7277 MB / 0.7408 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.4875, allocations: 70.31 kB / 0.7408 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.4876, allocations: 88.8 kB / 0.7409 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.4891, allocations: 0.9464 MB / 0.7418 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.4891, allocations: 5.938 kB / 0.7418 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/0.4892, allocations: 36.88 kB / 0.7419 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4892, allocations: 21.28 kB / 0.7419 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.4908, allocations: 1.131 MB / 0.743 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.4942, allocations: 2.556 MB / 0.7455 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.4956, allocations: 0.8147 MB / 0.7463 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.496, allocations: 287.4 kB / 0.7466 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.4966, allocations: 478.4 kB / 0.747 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007589/0.4974, allocations: 438.6 kB / 0.7474 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/0.4974, allocations: 0 / 0.7474 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002751/0.5002, allocations: 1.096 MB / 0.7485 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.5003, allocations: 188.6 kB / 0.7487 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006408/0.5009, allocations: 0.598 MB / 0.7493 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.501, allocations: 45.64 kB / 0.7493 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.5012, allocations: 404.1 kB / 0.7497 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.5014, allocations: 248.4 kB / 0.7499 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.5016, allocations: 130.3 kB / 0.7501 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5017, allocations: 382.7 kB / 0.7504 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.5022, allocations: 225.2 kB / 0.7506 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.5027, allocations: 324.1 kB / 0.751 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.5037, allocations: 0.5433 MB / 0.7515 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5037, allocations: 0 / 0.7515 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001678/0.5054, allocations: 0.7353 MB / 0.7522 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5054, allocations: 4 kB / 0.7522 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5055, allocations: 4 kB / 0.7522 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/0.506, allocations: 84.86 kB / 0.7523 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.5066, allocations: 143.8 kB / 0.7524 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.5085, allocations: 1.623 MB / 0.754 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.509, allocations: 83.36 kB / 0.7541 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.5091, allocations: 23.98 kB / 0.7541 GB, free: 15.94 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.0003509/0.5094, allocations: 261.3 kB / 0.7544 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5096, allocations: 75.12 kB / 0.7544 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.5117, allocations: 1.004 MB / 0.7554 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.5118, allocations: 8 kB / 0.7554 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.5118, allocations: 1.219 kB / 0.7554 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5118, allocations: 7.922 kB / 0.7554 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.5147, allocations: 1.898 MB / 0.7573 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-06/0.5147, allocations: 8.797 kB / 0.7573 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.5153, allocations: 147.8 kB / 0.7574 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.5157, allocations: 76.77 kB / 0.7575 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.5158, allocations: 19.98 kB / 0.7575 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.5175, allocations: 1.666 MB / 0.7592 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5175, allocations: 0 / 0.7592 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.5194, allocations: 0.918 MB / 0.7601 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.5197, allocations: 259.8 kB / 0.7603 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5198, allocations: 16 kB / 0.7603 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/0.5204, allocations: 59.94 kB / 0.7604 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.5205, allocations: 60.81 kB / 0.7604 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.5206, allocations: 31.97 kB / 0.7605 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004968/0.5211, allocations: 443 kB / 0.7609 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5211, allocations: 0 / 0.7609 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007873/0.5219, allocations: 311.1 kB / 0.7612 GB, free: 8.465 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 (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.003195/0.5251, allocations: 1.982 MB / 0.7631 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.5271, allocations: 0.9144 MB / 0.764 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5271, allocations: 3.984 kB / 0.764 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.528, allocations: 0.4931 MB / 0.7645 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.5291, allocations: 291.2 kB / 0.7648 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009669/0.5388, allocations: 6.233 MB / 0.7709 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.5393, allocations: 1.02 MB / 0.7719 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007834/0.5401, allocations: 250.3 kB / 0.7721 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/0.5406, allocations: 375.3 kB / 0.7725 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.5406, allocations: 0 / 0.7725 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8816/1.422, allocations: 20.25 MB / 0.7922 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/12.47, allocations: 17.05 kB / 0.7922 GB, free: 9.137 MB / 0.6075 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)