Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.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.001495/0.001495, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001694/0.001694, allocations: 217.8 kB / 22.25 MB, free: 5.121 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 7.988 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.8218/0.8218, 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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_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.001912/0.001912, allocations: 65.64 kB / 0.6185 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1494, allocations: 85.91 MB / 0.7024 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006559/0.1559, allocations: 4.59 MB / 0.7069 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.45/0.606, allocations: 154.2 MB / 0.8575 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006948/0.6067, allocations: 27.75 kB / 0.8575 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.6074, allocations: 184.9 kB / 0.8577 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.6094, allocations: 0.5215 MB / 0.8582 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.6116, allocations: 0.8673 MB / 0.859 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.6134, allocations: 1.336 MB / 0.8603 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.6145, allocations: 0.6593 MB / 0.861 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007981/0.6153, allocations: 0.5643 MB / 0.8615 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007228/0.616, allocations: 0.5833 MB / 0.8621 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.6162, allocations: 144 kB / 0.8622 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009903/0.6172, allocations: 0.5445 MB / 0.8627 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.6175, allocations: 354.9 kB / 0.8631 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000571/0.6181, allocations: 0.6566 MB / 0.8637 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.6201, allocations: 1.889 MB / 0.8656 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6201, allocations: 3.938 kB / 0.8656 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6201, allocations: 0 / 0.8656 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.6202, allocations: 0 / 0.8656 GB, free: 15.45 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002488/0.6227, allocations: 1.592 MB / 0.8671 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.6227, allocations: 12.03 kB / 0.8671 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.6229, allocations: 177.5 kB / 0.8673 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.6243, allocations: 259.8 kB / 0.8676 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.6256, allocations: 0.7775 MB / 0.8683 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.6257, allocations: 86.23 kB / 0.8684 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.6258, allocations: 116 kB / 0.8685 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.6277, allocations: 1.13 MB / 0.8696 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.6277, allocations: 0 / 0.8696 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/0.6278, allocations: 51.98 kB / 0.8697 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.6278, allocations: 28 kB / 0.8697 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.6298, allocations: 1.234 MB / 0.8709 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/0.6342, allocations: 2.937 MB / 0.8738 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.6355, allocations: 0.7294 MB / 0.8745 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.636, allocations: 270.7 kB / 0.8747 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/0.6361, allocations: 32.67 kB / 0.8748 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007667/0.6368, allocations: 451.2 kB / 0.8752 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=78): time 1.944e-06/0.6368, allocations: 0 / 0.8752 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78): time 0.002925/0.6398, allocations: 1.069 MB / 0.8762 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.6399, allocations: 192.6 kB / 0.8764 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.6408, allocations: 0.7157 MB / 0.8771 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.6408, allocations: 41.7 kB / 0.8772 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.6413, allocations: 0.5123 MB / 0.8777 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.6415, allocations: 273.7 kB / 0.8779 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.6417, allocations: 142.6 kB / 0.8781 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6419, allocations: 330 kB / 0.8784 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.6423, allocations: 237.9 kB / 0.8786 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.6429, allocations: 346.6 kB / 0.8789 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.644, allocations: 0.5799 MB / 0.8795 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.644, allocations: 3.938 kB / 0.8795 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001851/0.6458, allocations: 0.7945 MB / 0.8803 GB, free: 12 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6458, allocations: 4 kB / 0.8803 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6458, allocations: 3.938 kB / 0.8803 GB, free: 4 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/0.6465, allocations: 84.86 kB / 0.8804 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.6471, allocations: 147.8 kB / 0.8805 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.6493, allocations: 1.52 MB / 0.882 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.6499, allocations: 91.44 kB / 0.8821 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.6499, allocations: 23.98 kB / 0.8821 GB, free: 14.02 MB / 0.6544 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 (84): * Single equations (assignments): 83 * 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.0004281/0.6504, allocations: 291.9 kB / 0.8824 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.6505, allocations: 99.33 kB / 0.8825 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.6528, allocations: 1.026 MB / 0.8835 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6528, allocations: 8 kB / 0.8835 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6528, allocations: 4.109 kB / 0.8835 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6528, allocations: 7.922 kB / 0.8835 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.654, allocations: 0.9691 MB / 0.8844 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.654, allocations: 0 / 0.8844 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/0.6546, allocations: 143.8 kB / 0.8846 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/0.655, allocations: 76.78 kB / 0.8847 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.655, allocations: 23.98 kB / 0.8847 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.6569, allocations: 1.559 MB / 0.8862 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6569, allocations: 0 / 0.8862 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.6588, allocations: 0.8931 MB / 0.8871 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.6592, allocations: 203 kB / 0.8873 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.6593, allocations: 16 kB / 0.8873 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.6598, allocations: 55.95 kB / 0.8873 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.6599, allocations: 68.86 kB / 0.8874 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.66, allocations: 31.98 kB / 0.8874 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006549/0.6606, allocations: 0.5029 MB / 0.8879 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6606, allocations: 0 / 0.8879 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008101/0.6615, allocations: 338.9 kB / 0.8882 GB, free: 7.531 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 (89): * Single equations (assignments): 86 * 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.003887/0.6653, allocations: 1.932 MB / 0.8901 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.6669, allocations: 0.7532 MB / 0.8909 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6669, allocations: 0 / 0.8909 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009073/0.6678, allocations: 484.2 kB / 0.8913 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6688, allocations: 312.2 kB / 0.8916 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.6802, allocations: 6.772 MB / 0.8982 GB, free: 13.32 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.681, allocations: 1.09 MB / 0.8993 GB, free: 12.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007839/0.6817, allocations: 267 kB / 0.8996 GB, free: 11.94 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/0.6824, allocations: 467.2 kB / 0.9 GB, free: 11.48 MB / 0.67 GB Notification: Performance of SimCode: time 7.82e-07/0.6824, allocations: 0 / 0.9 GB, free: 11.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06324/0.7456, allocations: 22.82 MB / 0.9223 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.13, allocations: 6.516 kB / 0.9223 GB, free: 4.832 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.67791764298454] Failed to read output from testmodel.py, exit status != 0: 14.354476199951023 14.372217017 13.748865662 Calling exit ...