Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.001274/0.001274, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001384/0.001384, allocations: 217.6 kB / 23.04 MB, free: 5.074 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.424/1.424, 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.8179/0.8179, allocations: 134 MB / 447.2 MB, free: 10.29 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.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001876/0.001876, allocations: 65.66 kB / 0.6193 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1645, allocations: 85.91 MB / 0.7032 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006402/0.1709, allocations: 4.162 MB / 0.7072 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5372/0.7082, allocations: 154 MB / 0.8576 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008762/0.709, allocations: 23.81 kB / 0.8576 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.7099, allocations: 177.2 kB / 0.8578 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.712, allocations: 0.4912 MB / 0.8583 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.7143, allocations: 0.8319 MB / 0.8591 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.716, allocations: 1.192 MB / 0.8603 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.7168, allocations: 441.7 kB / 0.8607 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000732/0.7176, allocations: 458.4 kB / 0.8611 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/0.7182, allocations: 458 kB / 0.8616 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.7184, allocations: 104 kB / 0.8617 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.7194, allocations: 0.5051 MB / 0.8622 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.7197, allocations: 275.1 kB / 0.8624 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.7201, allocations: 0.4935 MB / 0.8629 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.7222, allocations: 1.543 MB / 0.8644 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7222, allocations: 0 / 0.8644 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7222, allocations: 4 kB / 0.8644 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.7222, allocations: 3.938 kB / 0.8644 GB, free: 1.457 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002463/0.7247, allocations: 1.302 MB / 0.8657 GB, free: 124 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.7247, allocations: 8.031 kB / 0.8657 GB, free: 116 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.452e-05/0.7248, allocations: 26.12 kB / 0.8657 GB, free: 88 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.725, allocations: 127.1 kB / 0.8658 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.7266, allocations: 236 kB / 0.8661 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.728, allocations: 0.6751 MB / 0.8667 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.7281, allocations: 58 kB / 0.8668 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.7282, allocations: 76 kB / 0.8669 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.7298, allocations: 0.852 MB / 0.8677 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.7298, allocations: 7.938 kB / 0.8677 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/0.7299, allocations: 39.98 kB / 0.8677 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.73, allocations: 20 kB / 0.8677 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.7318, allocations: 1.054 MB / 0.8688 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004234/0.736, allocations: 2.321 MB / 0.871 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.7374, allocations: 0.6861 MB / 0.8717 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.7379, allocations: 250.1 kB / 0.872 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.663e-05/0.738, allocations: 28.69 kB / 0.872 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007966/0.7387, allocations: 428.2 kB / 0.8724 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.064e-06/0.7388, allocations: 4 kB / 0.8724 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.003/0.7418, allocations: 0.9978 MB / 0.8734 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.7419, allocations: 196.5 kB / 0.8736 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/0.7428, allocations: 0.6058 MB / 0.8741 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.7428, allocations: 37.7 kB / 0.8742 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.7433, allocations: 384.9 kB / 0.8745 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.7435, allocations: 249.8 kB / 0.8748 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.7437, allocations: 130.2 kB / 0.8749 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.7439, allocations: 382.8 kB / 0.8753 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.7444, allocations: 217.2 kB / 0.8755 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.7449, allocations: 310.8 kB / 0.8758 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.746, allocations: 0.5199 MB / 0.8763 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.746, allocations: 4 kB / 0.8763 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001954/0.7479, allocations: 0.7161 MB / 0.877 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.748, allocations: 4 kB / 0.877 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.748, allocations: 4 kB / 0.877 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/0.7486, allocations: 84.86 kB / 0.8771 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.7492, allocations: 131.8 kB / 0.8772 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.7517, allocations: 1.535 MB / 0.8787 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.7523, allocations: 75.69 kB / 0.8788 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.7523, allocations: 31.97 kB / 0.8788 GB, free: 2.254 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 (73): * Single equations (assignments): 72 * 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.0004467/0.7528, allocations: 245.9 kB / 0.879 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.7529, allocations: 91.34 kB / 0.8791 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.7552, allocations: 0.9576 MB / 0.8801 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.7553, allocations: 8 kB / 0.8801 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.7553, allocations: 0 / 0.8801 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.7553, allocations: 4.078 kB / 0.8801 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.7588, allocations: 1.828 MB / 0.8819 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.7588, allocations: 0 / 0.8819 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.7594, allocations: 143.7 kB / 0.882 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.7598, allocations: 76.78 kB / 0.8821 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.7598, allocations: 19.98 kB / 0.8821 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.762, allocations: 1.574 MB / 0.8836 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.762, allocations: 0 / 0.8836 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.764, allocations: 0.9034 MB / 0.8845 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.7644, allocations: 183.2 kB / 0.8847 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.7645, allocations: 23.94 kB / 0.8847 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.7651, allocations: 49.22 kB / 0.8848 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.7652, allocations: 68.81 kB / 0.8848 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.7653, allocations: 27.98 kB / 0.8848 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005967/0.7659, allocations: 443 kB / 0.8853 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7659, allocations: 0 / 0.8853 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008622/0.7667, allocations: 287.2 kB / 0.8855 GB, free: 11.14 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 (81): * Single equations (assignments): 78 * 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.004016/0.7708, allocations: 1.949 MB / 0.8874 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.7724, allocations: 0.7082 MB / 0.8881 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7724, allocations: 0 / 0.8881 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008702/0.7733, allocations: 452.3 kB / 0.8886 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.7745, allocations: 287.1 kB / 0.8888 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.7852, allocations: 5.898 MB / 0.8946 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.7859, allocations: 0.9992 MB / 0.8956 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008188/0.7868, allocations: 251.8 kB / 0.8958 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.7873, allocations: 355.3 kB / 0.8962 GB, free: 340 kB / 0.6544 GB Notification: Performance of SimCode: time 1.613e-06/0.7873, allocations: 0 / 0.8962 GB, free: 340 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05546/0.8427, allocations: 20.58 MB / 0.9163 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.4, allocations: 9.953 kB / 0.9163 GB, free: 11.91 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.209188495995477] Failed to read output from testmodel.py, exit status != 0: 14.675684059038758 14.692575015 13.967091246 Calling exit ...