Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.001679/0.001679, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001439/0.001439, allocations: 220.4 kB / 23.05 MB, free: 5.074 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.8302/0.8302, allocations: 134 MB / 447.2 MB, free: 10.23 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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.003331/0.003331, allocations: 62.19 kB / 0.6193 GB, free: 7.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1988, allocations: 85.91 MB / 0.7032 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006737/0.2056, allocations: 4.202 MB / 0.7073 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5493/0.7548, allocations: 154 MB / 0.8577 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009937/0.7558, allocations: 15.88 kB / 0.8577 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.7565, allocations: 185.5 kB / 0.8579 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.7582, allocations: 494.3 kB / 0.8583 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.7604, allocations: 0.8284 MB / 0.8592 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.7619, allocations: 1.188 MB / 0.8603 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007565/0.7627, allocations: 437.9 kB / 0.8607 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006517/0.7634, allocations: 454.4 kB / 0.8612 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.7639, allocations: 450 kB / 0.8616 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.764, allocations: 104 kB / 0.8617 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.7651, allocations: 0.5014 MB / 0.8622 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.7654, allocations: 275.1 kB / 0.8624 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.7658, allocations: 0.4934 MB / 0.8629 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.7678, allocations: 1.523 MB / 0.8644 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7678, allocations: 8 kB / 0.8644 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7678, allocations: 0 / 0.8644 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.7678, allocations: 0 / 0.8644 GB, free: 1.59 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002251/0.7701, allocations: 1.3 MB / 0.8657 GB, free: 256 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7701, allocations: 12.03 kB / 0.8657 GB, free: 244 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.738e-05/0.7701, allocations: 22.19 kB / 0.8657 GB, free: 224 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.7703, allocations: 123.1 kB / 0.8658 GB, free: 92 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.7717, allocations: 228.1 kB / 0.8661 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.7729, allocations: 0.6751 MB / 0.8667 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.773, allocations: 62 kB / 0.8668 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.7731, allocations: 72 kB / 0.8668 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.7745, allocations: 0.8559 MB / 0.8677 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.7745, allocations: 7.938 kB / 0.8677 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/0.7746, allocations: 32 kB / 0.8677 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.7746, allocations: 23.98 kB / 0.8677 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.7763, allocations: 1.05 MB / 0.8688 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.78, allocations: 2.288 MB / 0.871 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.7813, allocations: 0.6631 MB / 0.8716 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/0.7818, allocations: 247.8 kB / 0.8719 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.7819, allocations: 28.77 kB / 0.8719 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007764/0.7826, allocations: 423.2 kB / 0.8723 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=71): time 2.144e-06/0.7826, allocations: 0 / 0.8723 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71): time 0.002999/0.7856, allocations: 0.9939 MB / 0.8733 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.7858, allocations: 192.5 kB / 0.8735 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000845/0.7866, allocations: 0.6135 MB / 0.8741 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.012e-05/0.7867, allocations: 45.64 kB / 0.8741 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.787, allocations: 384.9 kB / 0.8745 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.7872, allocations: 245.9 kB / 0.8747 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.7875, allocations: 130.2 kB / 0.8748 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.7877, allocations: 386.8 kB / 0.8752 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.7881, allocations: 209.2 kB / 0.8754 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.7887, allocations: 310.8 kB / 0.8757 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.7897, allocations: 0.5199 MB / 0.8762 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7897, allocations: 0 / 0.8762 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001742/0.7914, allocations: 0.7278 MB / 0.8769 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.7914, allocations: 4 kB / 0.8769 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7915, allocations: 4.094 kB / 0.8769 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.792, allocations: 76.78 kB / 0.877 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.7926, allocations: 143.8 kB / 0.8771 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.7947, allocations: 1.524 MB / 0.8786 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/0.7953, allocations: 88.44 kB / 0.8787 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.7953, allocations: 27.98 kB / 0.8787 GB, free: 2.469 MB / 0.6387 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 (75): * Single equations (assignments): 74 * 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.000416/0.7958, allocations: 248 kB / 0.879 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.7959, allocations: 79.47 kB / 0.8791 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.7981, allocations: 0.9646 MB / 0.88 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.7981, allocations: 8 kB / 0.88 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.7981, allocations: 0 / 0.88 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.7981, allocations: 3.984 kB / 0.88 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.7991, allocations: 0.8091 MB / 0.8808 GB, free: 308 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7991, allocations: 0 / 0.8808 GB, free: 308 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.7996, allocations: 147.8 kB / 0.8809 GB, free: 160 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.8001, allocations: 68.78 kB / 0.881 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.8001, allocations: 23.98 kB / 0.881 GB, free: 64 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.802, allocations: 1.555 MB / 0.8825 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.802, allocations: 0 / 0.8825 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.8038, allocations: 0.8346 MB / 0.8834 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.8042, allocations: 179.3 kB / 0.8835 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8043, allocations: 19.94 kB / 0.8835 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005038/0.8048, allocations: 51.94 kB / 0.8836 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.8049, allocations: 60.88 kB / 0.8837 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.805, allocations: 35.97 kB / 0.8837 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005918/0.8056, allocations: 451 kB / 0.8841 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8056, allocations: 0 / 0.8841 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007845/0.8064, allocations: 279.2 kB / 0.8844 GB, free: 12.48 MB / 0.6544 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.004032/0.8104, allocations: 1.873 MB / 0.8862 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.812, allocations: 0.6964 MB / 0.8869 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.812, allocations: 0 / 0.8869 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009699/0.813, allocations: 456.5 kB / 0.8873 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.8142, allocations: 286.9 kB / 0.8876 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.8249, allocations: 5.832 MB / 0.8933 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008595/0.8257, allocations: 1.007 MB / 0.8943 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009287/0.8267, allocations: 254.1 kB / 0.8945 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.8273, allocations: 359.3 kB / 0.8949 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/0.8273, allocations: 0 / 0.8949 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0578/0.8851, allocations: 20.53 MB / 0.9149 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.31, allocations: 12.05 kB / 0.9149 GB, free: 13.43 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.106164672062732] Failed to read output from testmodel.py, exit status != 0: 14.582197331008501 14.596729952 13.825822953 Calling exit ...