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.001256/0.001256, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001463/0.001463, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8367/0.8367, allocations: 134 MB / 447.2 MB, free: 9.977 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001967/0.001967, allocations: 66.2 kB / 0.6192 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 85.91 MB / 0.7031 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006764/0.175, allocations: 4.481 MB / 0.7075 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5106/0.6855, allocations: 132.8 MB / 0.8372 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.6866, allocations: 25.22 kB / 0.8372 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008527/0.6875, allocations: 202.5 kB / 0.8374 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.6894, allocations: 0.5893 MB / 0.838 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.6917, allocations: 0.9481 MB / 0.8389 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.6935, allocations: 1.574 MB / 0.8404 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.6947, allocations: 0.8308 MB / 0.8412 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009726/0.6956, allocations: 0.7279 MB / 0.842 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000811/0.6964, allocations: 0.7389 MB / 0.8427 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.6967, allocations: 192 kB / 0.8429 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.6978, allocations: 0.5699 MB / 0.8434 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.6982, allocations: 446.6 kB / 0.8438 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.6988, allocations: 0.6569 MB / 0.8445 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.7015, allocations: 2.38 MB / 0.8468 GB, free: 40 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7015, allocations: 4 kB / 0.8468 GB, free: 36 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7015, allocations: 0 / 0.8468 GB, free: 36 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.7015, allocations: 0 / 0.8468 GB, free: 36 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.003083/0.7046, allocations: 1.819 MB / 0.8486 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7046, allocations: 8.031 kB / 0.8486 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.423e-05/0.7047, allocations: 39.16 kB / 0.8486 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002536/0.7049, allocations: 219.6 kB / 0.8488 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/0.7079, allocations: 387.5 kB / 0.8492 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.7094, allocations: 0.8713 MB / 0.8501 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.7096, allocations: 170.3 kB / 0.8502 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.7098, allocations: 140 kB / 0.8504 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.7125, allocations: 1.741 MB / 0.8521 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.7125, allocations: 4.219 kB / 0.8521 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.7127, allocations: 63.98 kB / 0.8521 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.7127, allocations: 40 kB / 0.8522 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.7152, allocations: 1.49 MB / 0.8536 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005972/0.7212, allocations: 3.447 MB / 0.857 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.7227, allocations: 0.8504 MB / 0.8578 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.7233, allocations: 331.7 kB / 0.8581 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.145e-05/0.7234, allocations: 32.97 kB / 0.8582 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.7245, allocations: 0.6697 MB / 0.8588 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=93): time 2.985e-06/0.7245, allocations: 0 / 0.8588 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93): time 0.003432/0.7279, allocations: 1.302 MB / 0.8601 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.7281, allocations: 200.9 kB / 0.8603 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.7292, allocations: 0.7825 MB / 0.861 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/0.7292, allocations: 41.7 kB / 0.8611 GB, free: 1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/0.7298, allocations: 0.6081 MB / 0.8617 GB, free: 396 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.7301, allocations: 325.2 kB / 0.862 GB, free: 68 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.7304, allocations: 178.5 kB / 0.8622 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.7305, allocations: 338 kB / 0.8625 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.7311, allocations: 305.8 kB / 0.8628 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/0.7319, allocations: 0.5467 MB / 0.8633 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.7333, allocations: 0.7422 MB / 0.864 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7333, allocations: 0 / 0.864 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002303/0.7356, allocations: 0.9819 MB / 0.865 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.7356, allocations: 4 kB / 0.865 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7356, allocations: 7.938 kB / 0.865 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.7363, allocations: 84.83 kB / 0.8651 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.7371, allocations: 187.7 kB / 0.8653 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.7395, allocations: 1.531 MB / 0.8668 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/0.7403, allocations: 107.4 kB / 0.8669 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.7404, allocations: 39.97 kB / 0.8669 GB, free: 10.83 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.0007508/0.7412, allocations: 323.6 kB / 0.8672 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.7414, allocations: 103.3 kB / 0.8673 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.7444, allocations: 1.289 MB / 0.8686 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.7444, allocations: 19.94 kB / 0.8686 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.7444, allocations: 0 / 0.8686 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.7444, allocations: 3.984 kB / 0.8686 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004218/0.7486, allocations: 2.324 MB / 0.8708 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.7486, allocations: 0 / 0.8708 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000744/0.7494, allocations: 171.8 kB / 0.871 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.7498, allocations: 80.72 kB / 0.8711 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.7499, allocations: 27.98 kB / 0.8711 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.752, allocations: 1.555 MB / 0.8726 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.752, allocations: 0 / 0.8726 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.7543, allocations: 1.123 MB / 0.8737 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.7548, allocations: 254.9 kB / 0.874 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.755, allocations: 23.95 kB / 0.874 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/0.7557, allocations: 59.94 kB / 0.8741 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.7559, allocations: 76.91 kB / 0.8741 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.756, allocations: 47.97 kB / 0.8742 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008833/0.7568, allocations: 0.581 MB / 0.8747 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7568, allocations: 0 / 0.8747 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001178/0.758, allocations: 406.6 kB / 0.8751 GB, free: 2.168 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.004554/0.7626, allocations: 2.212 MB / 0.8773 GB, free: 192 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001962/0.7645, allocations: 0.8976 MB / 0.8782 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7645, allocations: 0 / 0.8782 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.7656, allocations: 0.547 MB / 0.8787 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.7668, allocations: 307.6 kB / 0.879 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.7809, allocations: 8.021 MB / 0.8868 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/0.7816, allocations: 0.5812 MB / 0.8874 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009824/0.7825, allocations: 299.9 kB / 0.8877 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008104/0.7834, allocations: 0.5617 MB / 0.8882 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of SimCode: time 1.212e-06/0.7834, allocations: 0 / 0.8882 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06485/0.8482, allocations: 27.49 MB / 0.9151 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.16, allocations: 16.55 kB / 0.9151 GB, free: 9.539 MB / 0.6856 GB " [Timeout remaining time 645] (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: 18.956199618056417] Failed to read output from testmodel.py, exit status != 0: 15.44154445710592 15.466227272 14.759273658 Calling exit ...