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.0007579/0.000758, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008057/0.0008057, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9029/0.9029, allocations: 135.3 MB / 426.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 8 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 82.32 MB / 0.5875 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00462/0.1528, allocations: 3.58 MB / 0.591 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4337/0.5865, allocations: 136.7 MB / 0.7245 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.5871, allocations: 14.25 kB / 0.7245 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.5876, allocations: 127.6 kB / 0.7246 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.5887, allocations: 386.7 kB / 0.725 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.5906, allocations: 0.6346 MB / 0.7256 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.5918, allocations: 1.038 MB / 0.7266 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008087/0.5926, allocations: 0.5303 MB / 0.7272 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004941/0.5931, allocations: 305.7 kB / 0.7275 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.5936, allocations: 326.4 kB / 0.7278 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.995e-05/0.5936, allocations: 21.75 kB / 0.7278 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.5945, allocations: 353.6 kB / 0.7281 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.5947, allocations: 168.3 kB / 0.7283 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.5949, allocations: 188.4 kB / 0.7285 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.5963, allocations: 1.145 MB / 0.7296 GB, free: 5.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5963, allocations: 1 kB / 0.7296 GB, free: 5.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5963, allocations: 3.938 kB / 0.7296 GB, free: 5.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.5964, allocations: 0 / 0.7296 GB, free: 5.348 MB / 0.545 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.002034/0.5984, allocations: 1.192 MB / 0.7307 GB, free: 4.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5984, allocations: 8.438 kB / 0.7308 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.5986, allocations: 140.5 kB / 0.7309 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.5996, allocations: 216.8 kB / 0.7311 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.6007, allocations: 0.7017 MB / 0.7318 GB, free: 3.895 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.6007, allocations: 67.36 kB / 0.7318 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.6008, allocations: 85.56 kB / 0.7319 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.6025, allocations: 0.9489 MB / 0.7329 GB, free: 3.402 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.6026, allocations: 5.031 kB / 0.7329 GB, free: 3.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/0.6027, allocations: 36.41 kB / 0.7329 GB, free: 3.371 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.6027, allocations: 22.09 kB / 0.7329 GB, free: 3.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.6047, allocations: 1.136 MB / 0.734 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.6089, allocations: 2.58 MB / 0.7365 GB, free: 1.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.6103, allocations: 0.8213 MB / 0.7373 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.6108, allocations: 286.4 kB / 0.7376 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/0.6114, allocations: 473.6 kB / 0.7381 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000795/0.6122, allocations: 438.5 kB / 0.7385 GB, free: 196 kB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 3.757e-06/0.6123, allocations: 3.938 kB / 0.7385 GB, free: 192 kB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002739/0.615, allocations: 1.107 MB / 0.7396 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.6151, allocations: 187.7 kB / 0.7398 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007267/0.6159, allocations: 0.5971 MB / 0.7403 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.6159, allocations: 44.3 kB / 0.7404 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.6162, allocations: 405.1 kB / 0.7408 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.6164, allocations: 243.6 kB / 0.741 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.6165, allocations: 11.94 kB / 0.741 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.6167, allocations: 381.6 kB / 0.7414 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.6171, allocations: 223.2 kB / 0.7416 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.6176, allocations: 326.5 kB / 0.7419 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.6182, allocations: 275.9 kB / 0.7422 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6182, allocations: 0 / 0.7422 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0016/0.6198, allocations: 0.7435 MB / 0.7429 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6198, allocations: 8 kB / 0.7429 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6198, allocations: 4.625 kB / 0.7429 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/0.6204, allocations: 88.75 kB / 0.743 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.621, allocations: 139.9 kB / 0.7431 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.6228, allocations: 1.516 MB / 0.7446 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.6234, allocations: 84.58 kB / 0.7447 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.6235, allocations: 27.98 kB / 0.7447 GB, free: 11.18 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004369/0.6239, allocations: 262.5 kB / 0.745 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.6241, allocations: 79.06 kB / 0.745 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.6263, allocations: 1.007 MB / 0.746 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.6264, allocations: 19.95 kB / 0.746 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6264, allocations: 3.938 kB / 0.746 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.6264, allocations: 3.984 kB / 0.746 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.6294, allocations: 1.9 MB / 0.7479 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6295, allocations: 0 / 0.7479 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.63, allocations: 147.8 kB / 0.748 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.6305, allocations: 84.77 kB / 0.7481 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.6306, allocations: 27.92 kB / 0.7481 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.6323, allocations: 1.539 MB / 0.7496 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6323, allocations: 0 / 0.7496 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.6341, allocations: 0.9298 MB / 0.7506 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.6345, allocations: 275.7 kB / 0.7508 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.6346, allocations: 16 kB / 0.7508 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.6352, allocations: 73.11 kB / 0.7509 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6353, allocations: 61.06 kB / 0.751 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.6354, allocations: 32.03 kB / 0.751 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005442/0.6359, allocations: 435 kB / 0.7514 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6359, allocations: 4 kB / 0.7514 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009485/0.6369, allocations: 303.2 kB / 0.7517 GB, free: 3.762 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003268/0.6401, allocations: 1.987 MB / 0.7536 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.6416, allocations: 0.7427 MB / 0.7544 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6417, allocations: 0 / 0.7544 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008064/0.6425, allocations: 0.4929 MB / 0.7548 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6436, allocations: 246.8 kB / 0.7551 GB, free: 480 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.6582, allocations: 4.835 MB / 0.7598 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009461/0.6592, allocations: 1.015 MB / 0.7608 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001525/0.6608, allocations: 262.3 kB / 0.761 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/0.6616, allocations: 367.3 kB / 0.7614 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/0.6616, allocations: 0 / 0.7614 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05259/0.7142, allocations: 20.41 MB / 0.7813 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.7144, allocations: 290 kB / 0.7816 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.97, allocations: 0 / 0.7816 GB, free: 5.543 MB / 0.5919 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/linux/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) Environment - environmentSimulation: