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.00463/0.00463, allocations: 103.6 kB / 15.73 MB, free: 6.055 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.001183/0.001184, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.775/0.775, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.09 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1544, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005731/0.1602, allocations: 4.195 MB / 0.6633 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5341/0.6944, allocations: 150.5 MB / 0.8103 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006773/0.6951, allocations: 18.41 kB / 0.8103 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.6956, allocations: 168.6 kB / 0.8105 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.6971, allocations: 479.6 kB / 0.8109 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.6988, allocations: 0.8136 MB / 0.8117 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.6998, allocations: 1.208 MB / 0.8129 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.7006, allocations: 0.6836 MB / 0.8136 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.7012, allocations: 465.8 kB / 0.814 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.7017, allocations: 489.5 kB / 0.8145 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.7018, allocations: 116.1 kB / 0.8146 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008252/0.7027, allocations: 0.494 MB / 0.8151 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.7029, allocations: 284.8 kB / 0.8153 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.7032, allocations: 0.5364 MB / 0.8159 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.7045, allocations: 1.584 MB / 0.8174 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7045, allocations: 0 / 0.8174 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7046, allocations: 0 / 0.8174 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.7046, allocations: 0 / 0.8174 GB, free: 9.676 MB / 0.5919 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.001881/0.7065, allocations: 1.388 MB / 0.8188 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.7065, allocations: 18.16 kB / 0.8188 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.7066, allocations: 144.9 kB / 0.8189 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009965/0.7076, allocations: 218.6 kB / 0.8191 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.7086, allocations: 0.7373 MB / 0.8198 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.7087, allocations: 77.62 kB / 0.8199 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.7088, allocations: 84.62 kB / 0.82 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.7102, allocations: 0.955 MB / 0.8209 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.7102, allocations: 0 / 0.8209 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.7103, allocations: 35.53 kB / 0.821 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.7103, allocations: 22.69 kB / 0.821 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.7119, allocations: 1.132 MB / 0.8221 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.7153, allocations: 2.519 MB / 0.8245 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.7167, allocations: 0.8154 MB / 0.8253 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.7173, allocations: 287.6 kB / 0.8256 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007144/0.718, allocations: 476.3 kB / 0.8261 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007872/0.7188, allocations: 435.8 kB / 0.8265 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.304e-06/0.7188, allocations: 0 / 0.8265 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.003094/0.7219, allocations: 1.1 MB / 0.8276 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.722, allocations: 190.3 kB / 0.8277 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/0.7228, allocations: 0.6001 MB / 0.8283 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.7229, allocations: 42.52 kB / 0.8284 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.7232, allocations: 410.9 kB / 0.8288 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.7233, allocations: 243.1 kB / 0.829 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.7235, allocations: 136.2 kB / 0.8291 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7237, allocations: 387.6 kB / 0.8295 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.7241, allocations: 220.7 kB / 0.8297 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.7246, allocations: 327.3 kB / 0.83 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009332/0.7256, allocations: 0.5356 MB / 0.8305 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7256, allocations: 5.875 kB / 0.8305 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001655/0.7272, allocations: 0.7303 MB / 0.8313 GB, free: 184 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7273, allocations: 5.562 kB / 0.8313 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7273, allocations: 2.188 kB / 0.8313 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/0.7279, allocations: 84.02 kB / 0.8313 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.7285, allocations: 138.9 kB / 0.8315 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.7306, allocations: 1.631 MB / 0.8331 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.7311, allocations: 85.92 kB / 0.8332 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.7312, allocations: 25.42 kB / 0.8332 GB, free: 14.44 MB / 0.6075 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.0003527/0.7316, allocations: 258.6 kB / 0.8334 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.7317, allocations: 76.94 kB / 0.8335 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.7338, allocations: 0.996 MB / 0.8345 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.7338, allocations: 12.09 kB / 0.8345 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.7339, allocations: 7.984 kB / 0.8345 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.7339, allocations: 7.922 kB / 0.8345 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.7368, allocations: 1.898 MB / 0.8363 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7368, allocations: 3.938 kB / 0.8364 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.7373, allocations: 146.7 kB / 0.8365 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.7378, allocations: 72.02 kB / 0.8366 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.7378, allocations: 21.52 kB / 0.8366 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.7396, allocations: 1.66 MB / 0.8382 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7396, allocations: 0 / 0.8382 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.7415, allocations: 0.9272 MB / 0.8391 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.7418, allocations: 257.2 kB / 0.8394 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.7419, allocations: 21 kB / 0.8394 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.7425, allocations: 56.91 kB / 0.8394 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7426, allocations: 59.33 kB / 0.8395 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.7427, allocations: 27.67 kB / 0.8395 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005051/0.7432, allocations: 442 kB / 0.8399 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7432, allocations: 0 / 0.8399 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000776/0.744, allocations: 307.9 kB / 0.8402 GB, free: 9.465 MB / 0.6075 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.003147/0.7472, allocations: 1.99 MB / 0.8422 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.7486, allocations: 0.7356 MB / 0.8429 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7486, allocations: 0 / 0.8429 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.7494, allocations: 0.4965 MB / 0.8434 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.7505, allocations: 295.6 kB / 0.8437 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009803/0.7603, allocations: 6.028 MB / 0.8495 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.7609, allocations: 1.019 MB / 0.8505 GB, free: 124 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007995/0.7617, allocations: 258.3 kB / 0.8508 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004861/0.7622, allocations: 375.3 kB / 0.8511 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/0.7622, allocations: 0 / 0.8511 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04578/0.808, allocations: 20.84 MB / 0.8715 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.85, allocations: 6.406 kB / 0.8715 GB, free: 10.93 MB / 0.6387 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)