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.001261/0.001261, allocations: 113.7 kB / 19.73 MB, free: 2.227 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.002326/0.002326, allocations: 216.1 kB / 23.04 MB, free: 5.062 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.406/1.406, allocations: 230.6 MB / 256.8 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.8035/0.8035, allocations: 134 MB / 447.2 MB, free: 10.26 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_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.001867/0.001867, allocations: 62.12 kB / 0.6193 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1588, allocations: 85.91 MB / 0.7032 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006518/0.1653, allocations: 4.597 MB / 0.7077 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4927/0.658, allocations: 154.1 MB / 0.8582 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007807/0.6588, allocations: 31.75 kB / 0.8582 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000749/0.6596, allocations: 192.2 kB / 0.8584 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.6615, allocations: 0.5084 MB / 0.8589 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.6638, allocations: 0.8659 MB / 0.8598 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.6658, allocations: 1.343 MB / 0.8611 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.667, allocations: 0.6662 MB / 0.8617 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009712/0.668, allocations: 0.5643 MB / 0.8623 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008786/0.6689, allocations: 0.5832 MB / 0.8629 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.6692, allocations: 144 kB / 0.863 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.6703, allocations: 0.5342 MB / 0.8635 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004029/0.6707, allocations: 354.8 kB / 0.8638 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007935/0.6715, allocations: 0.6605 MB / 0.8645 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.6742, allocations: 1.889 MB / 0.8663 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6742, allocations: 3.938 kB / 0.8663 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.607e-06/0.6742, allocations: 4 kB / 0.8663 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.253e-05/0.6743, allocations: 0 / 0.8663 GB, free: 15.48 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.00345/0.6777, allocations: 1.584 MB / 0.8679 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.6777, allocations: 12.03 kB / 0.8679 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.273e-05/0.6778, allocations: 34.48 kB / 0.8679 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/0.6781, allocations: 173.5 kB / 0.8681 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.6797, allocations: 263.8 kB / 0.8684 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.6812, allocations: 0.785 MB / 0.8691 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.753e-05/0.6813, allocations: 82.3 kB / 0.8692 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.6815, allocations: 112 kB / 0.8693 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.6836, allocations: 1.134 MB / 0.8704 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.6836, allocations: 0 / 0.8704 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.6837, allocations: 48 kB / 0.8705 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.6838, allocations: 28 kB / 0.8705 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.6859, allocations: 1.234 MB / 0.8717 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004916/0.6908, allocations: 2.932 MB / 0.8746 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.6922, allocations: 0.7304 MB / 0.8753 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.6928, allocations: 266.7 kB / 0.8755 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.099e-05/0.6928, allocations: 40.61 kB / 0.8756 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000841/0.6937, allocations: 447.2 kB / 0.876 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=78): time 3.015e-06/0.6937, allocations: 4 kB / 0.876 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78): time 0.00305/0.6967, allocations: 1.065 MB / 0.877 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.6969, allocations: 192.6 kB / 0.8772 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.6979, allocations: 0.7118 MB / 0.8779 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.6979, allocations: 45.69 kB / 0.878 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.6984, allocations: 0.5084 MB / 0.8785 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.6986, allocations: 273.7 kB / 0.8787 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.6989, allocations: 142.6 kB / 0.8788 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.699, allocations: 334 kB / 0.8792 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.6995, allocations: 237.9 kB / 0.8794 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.7001, allocations: 349.9 kB / 0.8797 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.7012, allocations: 0.576 MB / 0.8803 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.7012, allocations: 0 / 0.8803 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001988/0.7032, allocations: 0.7984 MB / 0.8811 GB, free: 20 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7032, allocations: 11.94 kB / 0.8811 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7032, allocations: 0 / 0.8811 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/0.7039, allocations: 84.86 kB / 0.8812 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.7045, allocations: 147.8 kB / 0.8813 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.7067, allocations: 1.527 MB / 0.8828 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.7074, allocations: 83.47 kB / 0.8829 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/0.7075, allocations: 32.05 kB / 0.8829 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.0005486/0.708, allocations: 283.4 kB / 0.8832 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.7082, allocations: 95.33 kB / 0.8833 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.7106, allocations: 1.033 MB / 0.8843 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.7106, allocations: 8 kB / 0.8843 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.7106, allocations: 0 / 0.8843 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.7106, allocations: 4.094 kB / 0.8843 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.7119, allocations: 0.969 MB / 0.8852 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7119, allocations: 0 / 0.8852 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.7125, allocations: 147.8 kB / 0.8854 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.7129, allocations: 72.78 kB / 0.8854 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.713, allocations: 23.98 kB / 0.8855 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.715, allocations: 1.559 MB / 0.887 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.715, allocations: 0 / 0.887 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.7171, allocations: 0.901 MB / 0.8879 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.7175, allocations: 203 kB / 0.8881 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.7176, allocations: 16 kB / 0.8881 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.7181, allocations: 51.95 kB / 0.8881 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.7183, allocations: 68.81 kB / 0.8882 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.92e-05/0.7183, allocations: 35.97 kB / 0.8882 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007041/0.7191, allocations: 0.5068 MB / 0.8887 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7191, allocations: 0 / 0.8887 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008747/0.7199, allocations: 334.9 kB / 0.889 GB, free: 7.535 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.003952/0.7239, allocations: 1.943 MB / 0.8909 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.7255, allocations: 0.7494 MB / 0.8917 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7255, allocations: 0 / 0.8917 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008792/0.7264, allocations: 480.2 kB / 0.8921 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.7276, allocations: 307.7 kB / 0.8924 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.7395, allocations: 6.777 MB / 0.899 GB, free: 13.33 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.7402, allocations: 1.09 MB / 0.9001 GB, free: 12.21 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008185/0.741, allocations: 265.8 kB / 0.9004 GB, free: 11.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/0.7416, allocations: 467.2 kB / 0.9008 GB, free: 11.5 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.7416, allocations: 3.938 kB / 0.9008 GB, free: 11.49 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/0.7979, allocations: 22.84 MB / 0.9231 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.53, allocations: 3.938 kB / 0.9231 GB, free: 4.824 MB / 0.6856 GB " [Timeout remaining time 645] (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: 18.24469019798562] Failed to read output from testmodel.py, exit status != 0: 14.804907916928641 14.829937736 14.151115068 Calling exit ...