Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001711/0.001711, 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.002119/0.002119, allocations: 220.9 kB / 22.25 MB, free: 5.125 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.953 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.8018/0.8018, allocations: 134 MB / 446.4 MB, free: 10.19 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.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.001905/0.001905, allocations: 74.44 kB / 0.6185 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1514, allocations: 85.9 MB / 0.7024 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005848/0.1573, allocations: 4.237 MB / 0.7066 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4719/0.6292, allocations: 154 MB / 0.857 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.6299, allocations: 23.81 kB / 0.857 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006474/0.6305, allocations: 176.7 kB / 0.8572 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.6321, allocations: 495.5 kB / 0.8576 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.6343, allocations: 0.8531 MB / 0.8585 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.6358, allocations: 1.211 MB / 0.8596 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008175/0.6367, allocations: 0.5048 MB / 0.8601 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006418/0.6373, allocations: 486.3 kB / 0.8606 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.6379, allocations: 493.8 kB / 0.8611 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.638, allocations: 116 kB / 0.8612 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008684/0.6389, allocations: 0.5092 MB / 0.8617 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.6391, allocations: 295 kB / 0.862 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004709/0.6396, allocations: 0.5401 MB / 0.8625 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.6414, allocations: 1.613 MB / 0.8641 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6414, allocations: 0 / 0.8641 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.916e-06/0.6414, allocations: 4 kB / 0.8641 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.6414, allocations: 0 / 0.8641 GB, free: 0.9102 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002232/0.6437, allocations: 1.377 MB / 0.8654 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.6437, allocations: 8.031 kB / 0.8654 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.6439, allocations: 139.8 kB / 0.8655 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.6456, allocations: 271.9 kB / 0.8658 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.6468, allocations: 0.7019 MB / 0.8665 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.6469, allocations: 66 kB / 0.8666 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.647, allocations: 87.98 kB / 0.8666 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.6486, allocations: 0.941 MB / 0.8676 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.6486, allocations: 4 kB / 0.8676 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.6487, allocations: 40 kB / 0.8676 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.6487, allocations: 20 kB / 0.8676 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.6505, allocations: 1.128 MB / 0.8687 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.6544, allocations: 2.415 MB / 0.8711 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.6566, allocations: 0.7568 MB / 0.8718 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.6571, allocations: 270.2 kB / 0.8721 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/0.6572, allocations: 36.67 kB / 0.8721 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008392/0.658, allocations: 435.1 kB / 0.8725 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 1.813e-06/0.658, allocations: 0 / 0.8725 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.002955/0.661, allocations: 1.026 MB / 0.8735 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6611, allocations: 188.6 kB / 0.8737 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/0.6619, allocations: 0.6291 MB / 0.8743 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.6619, allocations: 41.7 kB / 0.8744 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.6623, allocations: 416.9 kB / 0.8748 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.6625, allocations: 249.8 kB / 0.875 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.6627, allocations: 134.2 kB / 0.8751 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6629, allocations: 390.7 kB / 0.8755 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.6634, allocations: 221.2 kB / 0.8757 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.664, allocations: 322.8 kB / 0.876 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.665, allocations: 0.5355 MB / 0.8765 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.665, allocations: 8 kB / 0.8765 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001808/0.6668, allocations: 0.7318 MB / 0.8773 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6668, allocations: 4 kB / 0.8773 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6668, allocations: 0 / 0.8773 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.6674, allocations: 84.86 kB / 0.8773 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.668, allocations: 139.8 kB / 0.8775 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.6701, allocations: 1.529 MB / 0.879 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.6707, allocations: 87.5 kB / 0.8791 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.6707, allocations: 26.8 kB / 0.8791 GB, free: 1.078 MB / 0.6387 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 (76): * Single equations (assignments): 75 * 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.0003513/0.6711, allocations: 267.9 kB / 0.8793 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.6712, allocations: 79.48 kB / 0.8794 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.6735, allocations: 0.9968 MB / 0.8804 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6735, allocations: 19.94 kB / 0.8804 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.6735, allocations: 0 / 0.8804 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.6735, allocations: 7.922 kB / 0.8804 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/0.6769, allocations: 1.88 MB / 0.8823 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6769, allocations: 0 / 0.8823 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.6775, allocations: 147.8 kB / 0.8824 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/0.6779, allocations: 76.8 kB / 0.8825 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.6779, allocations: 23.92 kB / 0.8825 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.6799, allocations: 1.558 MB / 0.884 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6799, allocations: 0 / 0.884 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.6818, allocations: 0.9282 MB / 0.8849 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.6821, allocations: 187.2 kB / 0.8851 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.6822, allocations: 19.95 kB / 0.8851 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.6828, allocations: 61.97 kB / 0.8852 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6829, allocations: 61.02 kB / 0.8852 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.683, allocations: 36.05 kB / 0.8853 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005688/0.6835, allocations: 459 kB / 0.8857 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6835, allocations: 0 / 0.8857 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007123/0.6842, allocations: 295.1 kB / 0.886 GB, free: 9.797 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.003943/0.6882, allocations: 1.977 MB / 0.8879 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.6897, allocations: 0.72 MB / 0.8886 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6897, allocations: 0 / 0.8886 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008886/0.6906, allocations: 472.2 kB / 0.8891 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6916, allocations: 281.7 kB / 0.8893 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.7026, allocations: 6.145 MB / 0.8953 GB, free: 304 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.7033, allocations: 1.027 MB / 0.8963 GB, free: 15.24 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007081/0.704, allocations: 262.3 kB / 0.8966 GB, free: 14.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.7046, allocations: 387.3 kB / 0.897 GB, free: 14.6 MB / 0.67 GB Notification: Performance of SimCode: time 4.21e-07/0.7046, allocations: 0 / 0.897 GB, free: 14.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05858/0.7631, allocations: 21.27 MB / 0.9177 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.17, allocations: 8.234 kB / 0.9177 GB, free: 9.484 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.639635519124568] Failed to read output from testmodel.py, exit status != 0: 14.385776708833873 14.403022187 13.758310908 Calling exit ...