Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.00165/0.00165, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002249/0.002249, allocations: 210.3 kB / 22.24 MB, free: 5.262 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.789 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.8193/0.8193, allocations: 134 MB / 446.4 MB, free: 9.91 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.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001948/0.001948, allocations: 72.53 kB / 0.6185 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.165, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006669/0.1717, allocations: 4.486 MB / 0.7067 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5142/0.6858, allocations: 132.9 MB / 0.8365 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008726/0.6867, allocations: 27.56 kB / 0.8365 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007622/0.6875, allocations: 201 kB / 0.8367 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.6895, allocations: 0.5931 MB / 0.8373 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.6919, allocations: 0.9577 MB / 0.8382 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001837/0.6937, allocations: 1.58 MB / 0.8398 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.6951, allocations: 0.7989 MB / 0.8406 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.6962, allocations: 0.7241 MB / 0.8413 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.6972, allocations: 0.6451 MB / 0.8419 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004174/0.6976, allocations: 196 kB / 0.8421 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.6989, allocations: 0.5504 MB / 0.8426 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.6995, allocations: 450.6 kB / 0.843 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009272/0.7004, allocations: 0.6491 MB / 0.8437 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.7035, allocations: 2.384 MB / 0.846 GB, free: 192 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7035, allocations: 0 / 0.846 GB, free: 192 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7035, allocations: 0.6562 kB / 0.846 GB, free: 192 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.798e-05/0.7036, allocations: 0 / 0.846 GB, free: 192 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.003559/0.7072, allocations: 1.819 MB / 0.8478 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.7072, allocations: 8.031 kB / 0.8478 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002516/0.7075, allocations: 219.6 kB / 0.848 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/0.7103, allocations: 387.6 kB / 0.8484 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.7119, allocations: 0.8792 MB / 0.8492 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.712, allocations: 163.8 kB / 0.8494 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.7122, allocations: 144 kB / 0.8495 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.7149, allocations: 1.737 MB / 0.8512 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.7149, allocations: 11.88 kB / 0.8512 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.715, allocations: 64 kB / 0.8513 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.7151, allocations: 32 kB / 0.8513 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.7175, allocations: 1.447 MB / 0.8527 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006173/0.7237, allocations: 3.435 MB / 0.8561 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.7253, allocations: 0.8539 MB / 0.8569 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.7259, allocations: 335.7 kB / 0.8572 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-05/0.726, allocations: 34.73 kB / 0.8573 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.727, allocations: 0.6691 MB / 0.8579 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=93): time 3.246e-06/0.727, allocations: 4 kB / 0.8579 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93): time 0.003424/0.7304, allocations: 1.31 MB / 0.8592 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.7306, allocations: 188.9 kB / 0.8594 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.7317, allocations: 0.7903 MB / 0.8602 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.7318, allocations: 45.7 kB / 0.8602 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005878/0.7324, allocations: 0.6025 MB / 0.8608 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.7327, allocations: 321.2 kB / 0.8611 GB, free: 316 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.733, allocations: 174.6 kB / 0.8613 GB, free: 136 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.7332, allocations: 345.9 kB / 0.8616 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/0.7338, allocations: 301.8 kB / 0.8619 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.7346, allocations: 0.5468 MB / 0.8624 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.736, allocations: 0.7461 MB / 0.8632 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.736, allocations: 0 / 0.8632 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002375/0.7384, allocations: 0.9858 MB / 0.8641 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7384, allocations: 6.344 kB / 0.8641 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7384, allocations: 3.562 kB / 0.8641 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/0.739, allocations: 92.77 kB / 0.8642 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.7398, allocations: 183.8 kB / 0.8644 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.742, allocations: 1.529 MB / 0.8659 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/0.7428, allocations: 111.2 kB / 0.866 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/0.7429, allocations: 39.97 kB / 0.866 GB, free: 11.05 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0006199/0.7435, allocations: 313.6 kB / 0.8663 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.7437, allocations: 103.5 kB / 0.8664 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/0.7472, allocations: 1.303 MB / 0.8677 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.7472, allocations: 11.94 kB / 0.8677 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7472, allocations: 4 kB / 0.8677 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.7472, allocations: 7.969 kB / 0.8677 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/0.7517, allocations: 2.309 MB / 0.87 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7518, allocations: 0 / 0.87 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.7525, allocations: 175.8 kB / 0.8701 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/0.7529, allocations: 76.78 kB / 0.8702 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.753, allocations: 23.98 kB / 0.8702 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.755, allocations: 1.562 MB / 0.8718 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.755, allocations: 0 / 0.8718 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.7573, allocations: 1.127 MB / 0.8729 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/0.7579, allocations: 254.9 kB / 0.8731 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.7581, allocations: 27.95 kB / 0.8731 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.7588, allocations: 64 kB / 0.8732 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.7589, allocations: 76.86 kB / 0.8733 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-05/0.759, allocations: 39.97 kB / 0.8733 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008634/0.7599, allocations: 0.5771 MB / 0.8739 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7599, allocations: 0 / 0.8739 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001061/0.761, allocations: 402.7 kB / 0.8743 GB, free: 2.41 MB / 0.6387 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.004498/0.7655, allocations: 2.213 MB / 0.8764 GB, free: 432 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.7674, allocations: 0.9015 MB / 0.8773 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7674, allocations: 0 / 0.8773 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.7684, allocations: 0.5431 MB / 0.8778 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.7698, allocations: 304.8 kB / 0.8781 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.7843, allocations: 8.017 MB / 0.8859 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.7851, allocations: 0.5859 MB / 0.8865 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001016/0.7861, allocations: 303.9 kB / 0.8868 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008767/0.787, allocations: 0.5656 MB / 0.8874 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/0.787, allocations: 0 / 0.8874 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07512/0.8621, allocations: 27.63 MB / 0.9143 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.92, allocations: 12 kB / 0.9143 GB, free: 9.598 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.654151895083487] Failed to read output from testmodel.py, exit status != 0: 14.149507388938218 14.167512814 13.460777206 Calling exit ...