Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_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.001233/0.001233, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001127/0.001127, allocations: 198.5 kB / 16.26 MB, free: 6.629 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.181/1.181, 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.7985/0.7985, allocations: 135.1 MB / 425.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001145, allocations: 72.23 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1204, allocations: 80.93 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005057/0.1255, allocations: 4.189 MB / 0.5881 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.322/0.4475, allocations: 148.3 MB / 0.7329 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005767/0.4481, allocations: 15.88 kB / 0.7329 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.4487, allocations: 135.6 kB / 0.7331 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.4501, allocations: 426 kB / 0.7335 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.4516, allocations: 0.7254 MB / 0.7342 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009472/0.4526, allocations: 1.204 MB / 0.7354 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.4534, allocations: 0.6866 MB / 0.736 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.4538, allocations: 456.4 kB / 0.7365 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.4543, allocations: 488.9 kB / 0.7369 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.4544, allocations: 112.1 kB / 0.737 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.4549, allocations: 482.8 kB / 0.7375 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.4552, allocations: 287.8 kB / 0.7378 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.4555, allocations: 0.5397 MB / 0.7383 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.4568, allocations: 1.544 MB / 0.7398 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.4568, allocations: 1.375 kB / 0.7398 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4568, allocations: 0 / 0.7398 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.4568, allocations: 0 / 0.7398 GB, free: 10.17 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.001885/0.4587, allocations: 1.396 MB / 0.7412 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.4587, allocations: 9.781 kB / 0.7412 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.4589, allocations: 143.5 kB / 0.7413 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009854/0.4599, allocations: 206.5 kB / 0.7415 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.4607, allocations: 0.7241 MB / 0.7422 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.4607, allocations: 67.92 kB / 0.7423 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.4608, allocations: 85.91 kB / 0.7424 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.4622, allocations: 0.9562 MB / 0.7433 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.4622, allocations: 1.031 kB / 0.7433 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.4623, allocations: 40.12 kB / 0.7433 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.4623, allocations: 23.09 kB / 0.7434 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.4639, allocations: 1.123 MB / 0.7445 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.4671, allocations: 2.562 MB / 0.747 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.4684, allocations: 0.8238 MB / 0.7478 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.4688, allocations: 279.7 kB / 0.748 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/0.4694, allocations: 482.2 kB / 0.7485 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007383/0.4702, allocations: 436.6 kB / 0.7489 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.764e-06/0.4702, allocations: 0 / 0.7489 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002723/0.4729, allocations: 1.092 MB / 0.75 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.473, allocations: 200.6 kB / 0.7502 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.4736, allocations: 0.6018 MB / 0.7508 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.4737, allocations: 37.7 kB / 0.7508 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.4739, allocations: 400.1 kB / 0.7512 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.4741, allocations: 244.5 kB / 0.7514 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.4743, allocations: 134.2 kB / 0.7515 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4744, allocations: 378.7 kB / 0.7519 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.4748, allocations: 229.2 kB / 0.7521 GB, free: 388 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.4754, allocations: 322.8 kB / 0.7524 GB, free: 36 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/0.4763, allocations: 0.5433 MB / 0.753 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4763, allocations: 3.562 kB / 0.753 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001627/0.478, allocations: 0.7392 MB / 0.7537 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.478, allocations: 4 kB / 0.7537 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.478, allocations: 7.984 kB / 0.7537 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.4786, allocations: 76.86 kB / 0.7538 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/0.4792, allocations: 146 kB / 0.7539 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.481, allocations: 1.619 MB / 0.7555 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.4816, allocations: 88.02 kB / 0.7556 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.4816, allocations: 32.05 kB / 0.7556 GB, free: 12.62 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.0003131/0.4819, allocations: 259.8 kB / 0.7558 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4821, allocations: 79.06 kB / 0.7559 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.4842, allocations: 0.9956 MB / 0.7569 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4843, allocations: 12 kB / 0.7569 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4843, allocations: 1.875 kB / 0.7569 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.4843, allocations: 7.922 kB / 0.7569 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.4871, allocations: 1.9 MB / 0.7588 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4871, allocations: 0 / 0.7588 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.4877, allocations: 139.8 kB / 0.7589 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.4881, allocations: 76.78 kB / 0.759 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.4882, allocations: 23.98 kB / 0.759 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.4899, allocations: 1.658 MB / 0.7606 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4899, allocations: 4.031 kB / 0.7606 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.4916, allocations: 0.9218 MB / 0.7615 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.4919, allocations: 259.8 kB / 0.7618 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.492, allocations: 16.14 kB / 0.7618 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/0.4926, allocations: 59.92 kB / 0.7618 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.4927, allocations: 64.91 kB / 0.7619 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/0.4928, allocations: 27.98 kB / 0.7619 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004504/0.4932, allocations: 439 kB / 0.7623 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4933, allocations: 0 / 0.7623 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007715/0.494, allocations: 319 kB / 0.7627 GB, free: 5.148 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.003069/0.4971, allocations: 1.977 MB / 0.7646 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.499, allocations: 0.9184 MB / 0.7655 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.499, allocations: 0 / 0.7655 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008066/0.4998, allocations: 496.8 kB / 0.766 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.5009, allocations: 294.5 kB / 0.7662 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.5114, allocations: 6.621 MB / 0.7727 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.5119, allocations: 1.019 MB / 0.7737 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007439/0.5126, allocations: 266.2 kB / 0.7739 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/0.5131, allocations: 367.3 kB / 0.7743 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5131, allocations: 0 / 0.7743 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8815/1.395, allocations: 20.11 MB / 0.7939 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/1.395, allocations: 307.5 kB / 0.7942 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.71, allocations: 3.375 kB / 0.7942 GB, free: 5.172 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)