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.00459/0.00459, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001396/0.001396, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8515/0.8515, allocations: 135.6 MB / 426.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 72.61 kB / 0.5857 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1462, allocations: 81.02 MB / 0.6649 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005995/0.1522, allocations: 4.177 MB / 0.6689 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4614/0.6136, allocations: 150.5 MB / 0.816 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.6143, allocations: 14.78 kB / 0.816 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.6148, allocations: 174.3 kB / 0.8161 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.6162, allocations: 481.3 kB / 0.8166 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.6178, allocations: 0.8217 MB / 0.8174 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009363/0.6188, allocations: 1.205 MB / 0.8186 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007646/0.6196, allocations: 0.6837 MB / 0.8192 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004531/0.62, allocations: 468.1 kB / 0.8197 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.6205, allocations: 480 kB / 0.8201 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.6206, allocations: 112.6 kB / 0.8202 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.6214, allocations: 0.4931 MB / 0.8207 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.6217, allocations: 288.9 kB / 0.821 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.6221, allocations: 0.5257 MB / 0.8215 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.6237, allocations: 1.598 MB / 0.8231 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6237, allocations: 0 / 0.8231 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.427e-06/0.6237, allocations: 0 / 0.8231 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.6238, allocations: 3.938 kB / 0.8231 GB, free: 4.57 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.002068/0.6258, allocations: 1.428 MB / 0.8245 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.6259, allocations: 11.36 kB / 0.8245 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.626, allocations: 147.4 kB / 0.8246 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6271, allocations: 211.9 kB / 0.8248 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.6281, allocations: 0.7528 MB / 0.8256 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.6282, allocations: 67.91 kB / 0.8256 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/0.6283, allocations: 83 kB / 0.8257 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.6298, allocations: 0.9604 MB / 0.8266 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.6298, allocations: 0 / 0.8266 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/0.6299, allocations: 43.58 kB / 0.8267 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.6299, allocations: 26.56 kB / 0.8267 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.6317, allocations: 1.123 MB / 0.8278 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.6354, allocations: 2.53 MB / 0.8303 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.6368, allocations: 0.8224 MB / 0.8311 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.6373, allocations: 282.3 kB / 0.8314 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006631/0.638, allocations: 477 kB / 0.8318 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007815/0.6388, allocations: 446.9 kB / 0.8322 GB, free: 14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.114e-06/0.6388, allocations: 4 kB / 0.8322 GB, free: 14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002852/0.6417, allocations: 1.094 MB / 0.8333 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.6418, allocations: 192.3 kB / 0.8335 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.6425, allocations: 0.6027 MB / 0.8341 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.6425, allocations: 38.95 kB / 0.8341 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.6429, allocations: 415.1 kB / 0.8345 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.6431, allocations: 254.3 kB / 0.8348 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.6433, allocations: 136 kB / 0.8349 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.6435, allocations: 385.8 kB / 0.8353 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.644, allocations: 222.5 kB / 0.8355 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.6446, allocations: 325.3 kB / 0.8358 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.6457, allocations: 0.5418 MB / 0.8363 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6457, allocations: 3.938 kB / 0.8363 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001719/0.6474, allocations: 0.7409 MB / 0.837 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6474, allocations: 4.688 kB / 0.837 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6475, allocations: 2.812 kB / 0.837 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/0.648, allocations: 75.47 kB / 0.8371 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.6486, allocations: 144.2 kB / 0.8372 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.6507, allocations: 1.632 MB / 0.8388 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.6512, allocations: 71.97 kB / 0.8389 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.6513, allocations: 30.22 kB / 0.8389 GB, free: 9.008 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.000342/0.6516, allocations: 259.7 kB / 0.8392 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.6518, allocations: 81.05 kB / 0.8393 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.654, allocations: 0.999 MB / 0.8402 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.654, allocations: 11.36 kB / 0.8403 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.6541, allocations: 0 / 0.8403 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.6541, allocations: 7.922 kB / 0.8403 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.6571, allocations: 1.903 MB / 0.8421 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6572, allocations: 0 / 0.8421 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.6577, allocations: 141.9 kB / 0.8423 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/0.6581, allocations: 78.78 kB / 0.8423 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.6582, allocations: 23.33 kB / 0.8424 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.6602, allocations: 1.666 MB / 0.844 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.6602, allocations: 0 / 0.844 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.662, allocations: 0.9289 MB / 0.8449 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.6623, allocations: 257.3 kB / 0.8451 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6624, allocations: 21.28 kB / 0.8452 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/0.663, allocations: 55.09 kB / 0.8452 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.6631, allocations: 60.62 kB / 0.8453 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.6632, allocations: 32.3 kB / 0.8453 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004923/0.6637, allocations: 435.2 kB / 0.8457 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.004e-06/0.6637, allocations: 0 / 0.8457 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007876/0.6645, allocations: 325.1 kB / 0.846 GB, free: 3.941 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.003933/0.6684, allocations: 1.983 MB / 0.848 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.67, allocations: 0.7444 MB / 0.8487 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.67, allocations: 0 / 0.8487 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009144/0.6709, allocations: 0.4964 MB / 0.8492 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6721, allocations: 288.5 kB / 0.8494 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.6827, allocations: 6.065 MB / 0.8554 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.6834, allocations: 1.015 MB / 0.8564 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007654/0.6841, allocations: 262.3 kB / 0.8566 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.6847, allocations: 375.3 kB / 0.857 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.6847, allocations: 0 / 0.857 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/0.8093, allocations: 20.49 MB / 0.877 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.62, allocations: 7.719 kB / 0.877 GB, free: 4.543 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)