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.005025/0.005025, allocations: 100.6 kB / 15.73 MB, free: 5.996 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.001257/0.001257, allocations: 201.1 kB / 16.68 MB, free: 5.918 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8063/0.8063, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.55 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1544, allocations: 80.93 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006118/0.1606, allocations: 4.193 MB / 0.6682 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5707/0.7313, allocations: 150.5 MB / 0.8153 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.7323, allocations: 14.94 kB / 0.8153 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.7331, allocations: 163.9 kB / 0.8154 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.7353, allocations: 493.5 kB / 0.8159 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.7378, allocations: 0.8073 MB / 0.8167 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.7396, allocations: 1.206 MB / 0.8179 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.7406, allocations: 0.6961 MB / 0.8185 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007534/0.7414, allocations: 465.2 kB / 0.819 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.742, allocations: 486.5 kB / 0.8194 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.7421, allocations: 114.2 kB / 0.8196 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.7436, allocations: 0.4909 MB / 0.82 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.7439, allocations: 292.6 kB / 0.8203 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.7445, allocations: 0.526 MB / 0.8208 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.7473, allocations: 1.589 MB / 0.8224 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.7473, allocations: 3.938 kB / 0.8224 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.896e-06/0.7473, allocations: 2.406 kB / 0.8224 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.913e-05/0.7473, allocations: 3.75 kB / 0.8224 GB, free: 5.473 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.003336/0.7507, allocations: 1.386 MB / 0.8237 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.7508, allocations: 14.98 kB / 0.8238 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.751, allocations: 146.2 kB / 0.8239 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.7525, allocations: 203.5 kB / 0.8241 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.7542, allocations: 0.7526 MB / 0.8248 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/0.7543, allocations: 69.25 kB / 0.8249 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.7544, allocations: 85.88 kB / 0.825 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.7566, allocations: 0.948 MB / 0.8259 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.7567, allocations: 0 / 0.8259 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.7568, allocations: 42.44 kB / 0.8259 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.7568, allocations: 20 kB / 0.826 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.7594, allocations: 1.128 MB / 0.8271 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005846/0.7653, allocations: 2.527 MB / 0.8295 GB, free: 376 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.7673, allocations: 0.8232 MB / 0.8303 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/0.7681, allocations: 281.6 kB / 0.8306 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008068/0.7689, allocations: 477 kB / 0.8311 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.7699, allocations: 427.1 kB / 0.8315 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 3.657e-06/0.7699, allocations: 0 / 0.8315 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003662/0.7736, allocations: 1.102 MB / 0.8325 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.7737, allocations: 192 kB / 0.8327 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006916/0.7744, allocations: 0.5955 MB / 0.8333 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.7745, allocations: 42.42 kB / 0.8333 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.7748, allocations: 411.1 kB / 0.8337 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.7749, allocations: 244.2 kB / 0.834 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.7751, allocations: 136.1 kB / 0.8341 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7753, allocations: 384.1 kB / 0.8345 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.7757, allocations: 223.9 kB / 0.8347 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.7763, allocations: 327.7 kB / 0.835 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.7773, allocations: 0.5402 MB / 0.8355 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.7773, allocations: 2.281 kB / 0.8355 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001712/0.779, allocations: 0.7319 MB / 0.8362 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.779, allocations: 5.156 kB / 0.8362 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.779, allocations: 3.938 kB / 0.8362 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.7796, allocations: 86.44 kB / 0.8363 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.7802, allocations: 137.4 kB / 0.8365 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.7821, allocations: 1.635 MB / 0.8381 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.7827, allocations: 76.72 kB / 0.8381 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.7828, allocations: 28.11 kB / 0.8382 GB, free: 9.988 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.000388/0.7832, allocations: 263.4 kB / 0.8384 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.7833, allocations: 74.31 kB / 0.8385 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.7855, allocations: 0.9941 MB / 0.8394 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.7855, allocations: 10.09 kB / 0.8395 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.7855, allocations: 0 / 0.8395 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.7855, allocations: 15.91 kB / 0.8395 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.7887, allocations: 1.892 MB / 0.8413 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7887, allocations: 0 / 0.8413 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.7893, allocations: 142 kB / 0.8415 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.7897, allocations: 74.78 kB / 0.8415 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.7898, allocations: 22.83 kB / 0.8415 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.7917, allocations: 1.666 MB / 0.8432 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7917, allocations: 0 / 0.8432 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.7939, allocations: 0.9186 MB / 0.8441 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.7944, allocations: 261.1 kB / 0.8443 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.7945, allocations: 17.06 kB / 0.8443 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.7951, allocations: 61.16 kB / 0.8444 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.7952, allocations: 64 kB / 0.8445 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.7953, allocations: 27.61 kB / 0.8445 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005109/0.7958, allocations: 446 kB / 0.8449 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7958, allocations: 0 / 0.8449 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008278/0.7967, allocations: 313.6 kB / 0.8452 GB, free: 4.992 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.003494/0.8002, allocations: 1.977 MB / 0.8471 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.8018, allocations: 0.7366 MB / 0.8479 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.8018, allocations: 0 / 0.8479 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008997/0.8027, allocations: 0.4924 MB / 0.8483 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.8041, allocations: 284.4 kB / 0.8486 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.8158, allocations: 6.032 MB / 0.8545 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.8165, allocations: 1.023 MB / 0.8555 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008807/0.8174, allocations: 258.2 kB / 0.8557 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.818, allocations: 375.3 kB / 0.8561 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/0.8181, allocations: 0 / 0.8561 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/0.866, allocations: 20.86 MB / 0.8765 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.28, allocations: 4.062 kB / 0.8765 GB, free: 5.418 MB / 0.6387 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)