Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8363/0.8363, allocations: 133.9 MB / 443.5 MB, free: 14.14 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 65.62 kB / 0.6141 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1337, allocations: 85.87 MB / 0.6979 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008662/0.1424, allocations: 6.111 MB / 0.7039 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1982/0.3405, allocations: 154.8 MB / 0.8551 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.3419, allocations: 35.75 kB / 0.8551 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.3429, allocations: 249.4 kB / 0.8554 GB, free: 13.24 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.3454, allocations: 0.6436 MB / 0.856 GB, free: 12.6 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.3484, allocations: 1.297 MB / 0.8573 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003202/0.3516, allocations: 2.427 MB / 0.8596 GB, free: 8.871 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.3536, allocations: 1.149 MB / 0.8608 GB, free: 7.664 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.3554, allocations: 1.11 MB / 0.8618 GB, free: 6.551 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.3577, allocations: 1.202 MB / 0.863 GB, free: 5.344 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008134/0.3585, allocations: 300 kB / 0.8633 GB, free: 5.051 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.3602, allocations: 0.7027 MB / 0.864 GB, free: 4.348 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.3612, allocations: 0.6543 MB / 0.8646 GB, free: 3.691 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.3631, allocations: 1.178 MB / 0.8658 GB, free: 2.508 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.4102/0.7733, allocations: 3.352 MB / 0.869 GB, free: 9.168 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7733, allocations: 0.6562 kB / 0.869 GB, free: 9.168 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7733, allocations: 0 / 0.869 GB, free: 9.168 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.729e-05/0.7734, allocations: 0.9375 kB / 0.869 GB, free: 9.168 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.006001/0.7794, allocations: 2.669 MB / 0.8717 GB, free: 8.023 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.7794, allocations: 11.23 kB / 0.8717 GB, free: 8.023 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.439e-05/0.7795, allocations: 58.17 kB / 0.8717 GB, free: 8.016 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003576/0.7798, allocations: 306.8 kB / 0.872 GB, free: 7.965 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01793/0.7978, allocations: 2.299 MB / 0.8743 GB, free: 7.832 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.8012, allocations: 1.239 MB / 0.8755 GB, free: 7.438 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.8014, allocations: 163.1 kB / 0.8756 GB, free: 7.43 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006721/0.8021, allocations: 208.2 kB / 0.8758 GB, free: 7.43 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.8122, allocations: 3.157 MB / 0.8789 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.8123, allocations: 1.656 kB / 0.8789 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003325/0.8126, allocations: 92.61 kB / 0.879 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.145e-05/0.8127, allocations: 53.75 kB / 0.879 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.8249, allocations: 4.1 MB / 0.883 GB, free: 7.164 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01364/0.8386, allocations: 6.96 MB / 0.8898 GB, free: 6.039 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008011/0.8466, allocations: 2.532 MB / 0.8923 GB, free: 5.992 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/0.8507, allocations: 1.297 MB / 0.8936 GB, free: 5.977 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007434/0.8514, allocations: 0.5068 MB / 0.8941 GB, free: 5.504 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004692/0.8561, allocations: 1.696 MB / 0.8957 GB, free: 5.406 MB / 0.67 GB Notification: Performance of pre-optimization done (n=195): time 4.91e-06/0.8561, allocations: 1.359 kB / 0.8957 GB, free: 5.406 MB / 0.67 GB Notification: Performance of matching and sorting (n=195): time 0.01398/0.8701, allocations: 4.204 MB / 0.8998 GB, free: 5.105 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.8702, allocations: 208.6 kB / 0.9 GB, free: 4.883 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.8714, allocations: 0.8873 MB / 0.9009 GB, free: 4.727 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.8716, allocations: 63.05 kB / 0.901 GB, free: 4.695 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/0.8721, allocations: 0.7252 MB / 0.9017 GB, free: 4.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005355/0.8727, allocations: 0.6628 MB / 0.9023 GB, free: 3.898 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007202/0.8734, allocations: 350.9 kB / 0.9027 GB, free: 3.871 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.8734, allocations: 304.7 kB / 0.9029 GB, free: 3.574 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003783/0.8772, allocations: 1.167 MB / 0.9041 GB, free: 3.547 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004048/0.8813, allocations: 1.355 MB / 0.9054 GB, free: 3.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007874/0.8891, allocations: 2.47 MB / 0.9078 GB, free: 3.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.8892, allocations: 0 / 0.9078 GB, free: 3.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009665/0.8988, allocations: 2.912 MB / 0.9107 GB, free: 3.055 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.8988, allocations: 11.31 kB / 0.9107 GB, free: 3.055 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.8989, allocations: 7.094 kB / 0.9107 GB, free: 3.051 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/0.8994, allocations: 80.44 kB / 0.9108 GB, free: 3.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.903, allocations: 0.5634 MB / 0.9113 GB, free: 3.027 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.9048, allocations: 1.637 MB / 0.9129 GB, free: 1.637 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.9078, allocations: 334.5 kB / 0.9132 GB, free: 1.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/0.9082, allocations: 88.14 kB / 0.9133 GB, free: 1.543 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (207): * Single equations (assignments): 206 * 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.001092/0.9093, allocations: 408 kB / 0.9137 GB, free: 1.426 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006123/0.9099, allocations: 156.7 kB / 0.9138 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.921, allocations: 3.474 MB / 0.9172 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.921, allocations: 21.69 kB / 0.9173 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.921, allocations: 0 / 0.9173 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.9211, allocations: 11.81 kB / 0.9173 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.9344, allocations: 5.777 MB / 0.9229 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.9344, allocations: 0 / 0.9229 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/0.9378, allocations: 0.55 MB / 0.9235 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/0.9383, allocations: 76.72 kB / 0.9235 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/0.9385, allocations: 65.73 kB / 0.9236 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.9406, allocations: 1.674 MB / 0.9252 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9406, allocations: 3.938 kB / 0.9252 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.9507, allocations: 3.056 MB / 0.9282 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/0.952, allocations: 0.5193 MB / 0.9287 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006064/0.9527, allocations: 41.42 kB / 0.9288 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/0.9558, allocations: 253.7 kB / 0.929 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.9562, allocations: 124.9 kB / 0.9291 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/0.9564, allocations: 83.17 kB / 0.9292 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001136/0.9575, allocations: 0.6611 MB / 0.9298 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9575, allocations: 0 / 0.9298 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002221/0.9598, allocations: 0.601 MB / 0.9304 GB, free: 11.98 MB / 0.6856 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 (210): * Single equations (assignments): 207 * 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.01296/0.9727, allocations: 4.171 MB / 0.9345 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01013/0.9828, allocations: 2.825 MB / 0.9373 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.9829, allocations: 8.25 kB / 0.9373 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005301/0.9882, allocations: 1.533 MB / 0.9388 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.9904, allocations: 366.3 kB / 0.9391 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04444/1.035, allocations: 15.19 MB / 0.9539 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/1.036, allocations: 1.377 MB / 0.9553 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003435/1.04, allocations: 0.5504 MB / 0.9558 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/1.042, allocations: 0.8329 MB / 0.9566 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of SimCode: time 8.01e-07/1.042, allocations: 0 / 0.9566 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09248/1.134, allocations: 39.49 MB / 0.9952 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.22, allocations: 14.33 kB / 0.9952 GB, free: 10.3 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.13436275004642] Failed to read output from testmodel.py, exit status != 0: 15.745071801997256 15.504280704 14.727876075 Calling exit ...