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.001229/0.001229, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001361/0.001361, allocations: 216 kB / 22.25 MB, free: 5.082 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 8.008 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.8083/0.8083, allocations: 134 MB / 446.4 MB, free: 10.22 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",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.001927/0.001927, allocations: 71.34 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1472, allocations: 85.9 MB / 0.7024 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006145/0.1533, allocations: 4.204 MB / 0.7065 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4524/0.6057, allocations: 154 MB / 0.8569 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006844/0.6064, allocations: 19.88 kB / 0.8569 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.607, allocations: 177.4 kB / 0.8571 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.6087, allocations: 496.4 kB / 0.8576 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.6107, allocations: 0.8316 MB / 0.8584 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.6122, allocations: 1.192 MB / 0.8595 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007675/0.613, allocations: 437.9 kB / 0.86 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006775/0.6137, allocations: 450.4 kB / 0.8604 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006365/0.6143, allocations: 450 kB / 0.8608 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.6145, allocations: 104 kB / 0.8609 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009472/0.6154, allocations: 0.4969 MB / 0.8614 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.6157, allocations: 275.1 kB / 0.8617 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.6163, allocations: 0.4934 MB / 0.8622 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.6183, allocations: 1.527 MB / 0.8636 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.6183, allocations: 0 / 0.8636 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6183, allocations: 0 / 0.8636 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.6183, allocations: 7.938 kB / 0.8636 GB, free: 1.512 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.002457/0.6207, allocations: 1.307 MB / 0.8649 GB, free: 168 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.6208, allocations: 8.031 kB / 0.8649 GB, free: 160 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.6209, allocations: 127 kB / 0.8651 GB, free: 24 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.6224, allocations: 226.2 kB / 0.8653 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.6237, allocations: 0.6694 MB / 0.8659 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.6237, allocations: 58 kB / 0.866 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.6238, allocations: 83.97 kB / 0.8661 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.6253, allocations: 0.8481 MB / 0.8669 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.6253, allocations: 0 / 0.8669 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.6254, allocations: 35.94 kB / 0.8669 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.6254, allocations: 20 kB / 0.8669 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.6271, allocations: 1.057 MB / 0.868 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.6308, allocations: 2.282 MB / 0.8702 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.632, allocations: 0.6612 MB / 0.8708 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.6325, allocations: 250.7 kB / 0.8711 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.15e-05/0.6326, allocations: 32.75 kB / 0.8711 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007316/0.6333, allocations: 415.2 kB / 0.8715 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=71): time 1.994e-06/0.6333, allocations: 0 / 0.8715 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71): time 0.002881/0.6362, allocations: 0.9912 MB / 0.8725 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.6363, allocations: 196.5 kB / 0.8727 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.6371, allocations: 0.6213 MB / 0.8733 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.6371, allocations: 41.7 kB / 0.8733 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.6374, allocations: 384.8 kB / 0.8737 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.6376, allocations: 241.9 kB / 0.8739 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.6378, allocations: 134.2 kB / 0.874 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.638, allocations: 382.8 kB / 0.8744 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.6384, allocations: 212.3 kB / 0.8746 GB, free: 6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.639, allocations: 318.8 kB / 0.8749 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.64, allocations: 0.5238 MB / 0.8754 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.64, allocations: 0 / 0.8754 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00172/0.6417, allocations: 0.7123 MB / 0.8761 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.6417, allocations: 13.97 kB / 0.8761 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6417, allocations: 3.938 kB / 0.8761 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/0.6423, allocations: 88.81 kB / 0.8762 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.6429, allocations: 131.8 kB / 0.8763 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.6451, allocations: 1.528 MB / 0.8778 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.6456, allocations: 75.58 kB / 0.8779 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.6456, allocations: 23.98 kB / 0.8779 GB, free: 2.422 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.0003437/0.646, allocations: 253.7 kB / 0.8782 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.6461, allocations: 83.47 kB / 0.8783 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.6483, allocations: 0.9659 MB / 0.8792 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.6483, allocations: 12 kB / 0.8792 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.6483, allocations: 0 / 0.8792 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.6483, allocations: 3.984 kB / 0.8792 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.6493, allocations: 0.8014 MB / 0.88 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6493, allocations: 4 kB / 0.88 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.6498, allocations: 131.8 kB / 0.8801 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.6502, allocations: 72.78 kB / 0.8802 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.6503, allocations: 27.92 kB / 0.8802 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.6522, allocations: 1.562 MB / 0.8817 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6522, allocations: 0 / 0.8817 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.6539, allocations: 0.8307 MB / 0.8826 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.6543, allocations: 183.2 kB / 0.8827 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/0.6544, allocations: 16 kB / 0.8828 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.6549, allocations: 59.88 kB / 0.8828 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.655, allocations: 64.88 kB / 0.8829 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.6551, allocations: 27.98 kB / 0.8829 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000548/0.6556, allocations: 447 kB / 0.8833 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6556, allocations: 0 / 0.8833 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006902/0.6563, allocations: 283.2 kB / 0.8836 GB, free: 12.43 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.003793/0.6601, allocations: 1.88 MB / 0.8854 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.6616, allocations: 0.6888 MB / 0.8861 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6616, allocations: 0 / 0.8861 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008503/0.6624, allocations: 464.2 kB / 0.8865 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6635, allocations: 279.4 kB / 0.8868 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.6735, allocations: 5.827 MB / 0.8925 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.6741, allocations: 1.007 MB / 0.8935 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007192/0.6749, allocations: 258 kB / 0.8937 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.6753, allocations: 351.3 kB / 0.8941 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of SimCode: time 4.4e-07/0.6754, allocations: 0 / 0.8941 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05981/0.7352, allocations: 20.5 MB / 0.9141 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.07, allocations: 10.42 kB / 0.9141 GB, free: 13.4 MB / 0.6856 GB " [Timeout remaining time 646] (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: 17.552695288090035] Failed to read output from testmodel.py, exit status != 0: 14.300684777088463 14.320446013 13.6986521 Calling exit ...