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.00122/0.00122, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001296/0.001296, allocations: 215 kB / 20.13 MB, free: 2.949 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.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.8699/0.8699, allocations: 133.9 MB / 443.5 MB, free: 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.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.001972/0.001972, allocations: 65.53 kB / 0.6141 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1663, allocations: 85.86 MB / 0.6979 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006295/0.1726, allocations: 4.165 MB / 0.702 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1894/0.362, allocations: 153.8 MB / 0.8522 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.3636, allocations: 23.81 kB / 0.8523 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.3645, allocations: 166.4 kB / 0.8524 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.3667, allocations: 495.3 kB / 0.8529 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.3688, allocations: 0.8012 MB / 0.8537 GB, free: 14.9 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.3703, allocations: 1.195 MB / 0.8548 GB, free: 13.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007673/0.3711, allocations: 452.3 kB / 0.8553 GB, free: 13.24 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006904/0.3718, allocations: 450.4 kB / 0.8557 GB, free: 12.8 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005698/0.3723, allocations: 453.9 kB / 0.8561 GB, free: 12.36 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.3725, allocations: 104 kB / 0.8562 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3736, allocations: 0.4996 MB / 0.8567 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.3738, allocations: 271.1 kB / 0.857 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.3743, allocations: 0.4934 MB / 0.8575 GB, free: 10.99 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.3765, allocations: 1.518 MB / 0.8589 GB, free: 9.469 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3765, allocations: 0 / 0.8589 GB, free: 9.469 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3765, allocations: 0 / 0.8589 GB, free: 9.469 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.3765, allocations: 3.938 kB / 0.859 GB, free: 9.465 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00245/0.3789, allocations: 1.379 MB / 0.8603 GB, free: 8.027 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.379, allocations: 9.703 kB / 0.8603 GB, free: 8.02 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.4e-05/0.379, allocations: 30.12 kB / 0.8603 GB, free: 7.992 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.3792, allocations: 127 kB / 0.8605 GB, free: 7.859 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.3807, allocations: 228.1 kB / 0.8607 GB, free: 7.637 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3818, allocations: 0.7386 MB / 0.8614 GB, free: 6.852 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.3819, allocations: 58 kB / 0.8615 GB, free: 6.797 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.382, allocations: 72 kB / 0.8615 GB, free: 6.727 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.3836, allocations: 0.8481 MB / 0.8623 GB, free: 5.836 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3837, allocations: 3.938 kB / 0.8624 GB, free: 5.832 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/0.3837, allocations: 36 kB / 0.8624 GB, free: 5.797 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.3838, allocations: 16 kB / 0.8624 GB, free: 5.781 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.3855, allocations: 1.057 MB / 0.8634 GB, free: 4.727 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.3897, allocations: 2.344 MB / 0.8657 GB, free: 2.312 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.391, allocations: 0.6646 MB / 0.8664 GB, free: 1.645 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.3916, allocations: 250.4 kB / 0.8666 GB, free: 1.391 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.479e-05/0.3916, allocations: 28.67 kB / 0.8666 GB, free: 1.363 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008297/0.3925, allocations: 423.1 kB / 0.867 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of pre-optimization done (n=71): time 2.395e-06/0.3925, allocations: 4 kB / 0.867 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of matching and sorting (n=71): time 0.3662/0.7586, allocations: 1.055 MB / 0.8681 GB, free: 169.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.7587, allocations: 190.2 kB / 0.8683 GB, free: 169.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000933/0.7596, allocations: 0.6149 MB / 0.8689 GB, free: 169.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.7597, allocations: 43.53 kB / 0.8689 GB, free: 169.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.76, allocations: 383.2 kB / 0.8693 GB, free: 169.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.7602, allocations: 247.9 kB / 0.8695 GB, free: 169.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.7604, allocations: 130.7 kB / 0.8696 GB, free: 169.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7605, allocations: 388.7 kB / 0.87 GB, free: 168.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.7609, allocations: 211.9 kB / 0.8702 GB, free: 168.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.7615, allocations: 316.2 kB / 0.8705 GB, free: 168.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.7624, allocations: 0.5231 MB / 0.871 GB, free: 168.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7624, allocations: 1.25 kB / 0.871 GB, free: 168.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001751/0.7641, allocations: 0.716 MB / 0.8717 GB, free: 168 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.7642, allocations: 10.02 kB / 0.8717 GB, free: 168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7642, allocations: 4.25 kB / 0.8717 GB, free: 168 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.7648, allocations: 82.28 kB / 0.8718 GB, free: 168 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/0.7653, allocations: 136.4 kB / 0.8719 GB, free: 168 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.7671, allocations: 1.628 MB / 0.8735 GB, free: 166.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.7676, allocations: 80.45 kB / 0.8736 GB, free: 166.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.7676, allocations: 30.41 kB / 0.8736 GB, free: 166.4 MB / 0.67 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.0003031/0.7679, allocations: 246.9 kB / 0.8739 GB, free: 166.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.7681, allocations: 85.03 kB / 0.8739 GB, free: 166.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.7703, allocations: 0.9614 MB / 0.8749 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.7703, allocations: 9.516 kB / 0.8749 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.7703, allocations: 0 / 0.8749 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.7703, allocations: 5.188 kB / 0.8749 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.7713, allocations: 0.834 MB / 0.8757 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.7713, allocations: 4 kB / 0.8757 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/0.7718, allocations: 137.9 kB / 0.8758 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/0.7723, allocations: 75.84 kB / 0.8759 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.7723, allocations: 20.5 kB / 0.8759 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.7739, allocations: 1.66 MB / 0.8776 GB, free: 163.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7739, allocations: 3.594 kB / 0.8776 GB, free: 163.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.7756, allocations: 0.8327 MB / 0.8784 GB, free: 163.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.7759, allocations: 260.8 kB / 0.8786 GB, free: 163.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.776, allocations: 20.16 kB / 0.8786 GB, free: 163.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.7765, allocations: 51.66 kB / 0.8787 GB, free: 163.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.7766, allocations: 62.83 kB / 0.8788 GB, free: 163.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/0.7767, allocations: 31.83 kB / 0.8788 GB, free: 163.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005632/0.7772, allocations: 445.4 kB / 0.8792 GB, free: 163 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7772, allocations: 0 / 0.8792 GB, free: 163 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008946/0.7781, allocations: 287.8 kB / 0.8795 GB, free: 163 MB / 0.67 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.003915/0.7821, allocations: 1.886 MB / 0.8813 GB, free: 162 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.7836, allocations: 0.6916 MB / 0.882 GB, free: 161.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7836, allocations: 4.938 kB / 0.882 GB, free: 161.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000815/0.7844, allocations: 445.9 kB / 0.8824 GB, free: 161.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.7855, allocations: 293.8 kB / 0.8827 GB, free: 161.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/0.7941, allocations: 5.832 MB / 0.8884 GB, free: 157.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.7944, allocations: 1.011 MB / 0.8894 GB, free: 156.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006167/0.795, allocations: 253.4 kB / 0.8896 GB, free: 156.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/0.7954, allocations: 355.2 kB / 0.89 GB, free: 156.2 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.7954, allocations: 0 / 0.89 GB, free: 156.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.8354, allocations: 20.04 MB / 0.9095 GB, free: 136.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.57, allocations: 9.953 kB / 0.9096 GB, free: 136.6 MB / 0.67 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.524019812000915] Failed to read output from testmodel.py, exit status != 0: 14.112307522038464 13.847318297 13.467197617 Calling exit ...