Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001299/0.001299, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.001414/0.001414, allocations: 219.8 kB / 23.05 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.8986/0.8986, allocations: 134 MB / 447.2 MB, free: 10.2 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.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001899/0.001899, allocations: 69.58 kB / 0.6193 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1604, allocations: 85.91 MB / 0.7032 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006094/0.1665, allocations: 4.3 MB / 0.7074 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5411/0.7075, allocations: 154.1 MB / 0.8579 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008328/0.7084, allocations: 27.81 kB / 0.8579 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007792/0.7091, allocations: 176.8 kB / 0.8581 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.7111, allocations: 0.4972 MB / 0.8586 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.7135, allocations: 0.8705 MB / 0.8594 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.7152, allocations: 1.25 MB / 0.8606 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008691/0.716, allocations: 472 kB / 0.8611 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007441/0.7168, allocations: 478.4 kB / 0.8615 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.7175, allocations: 485.8 kB / 0.862 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.7177, allocations: 108 kB / 0.8621 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.7189, allocations: 0.518 MB / 0.8626 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.7192, allocations: 291.1 kB / 0.8629 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006116/0.7198, allocations: 0.5207 MB / 0.8634 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.7221, allocations: 1.597 MB / 0.865 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7221, allocations: 0 / 0.865 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7221, allocations: 0 / 0.865 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.038e-05/0.7221, allocations: 0 / 0.865 GB, free: 0.8477 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002756/0.7249, allocations: 1.346 MB / 0.8663 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7249, allocations: 8.031 kB / 0.8663 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.09e-05/0.7249, allocations: 22.19 kB / 0.8663 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.7251, allocations: 139.4 kB / 0.8664 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.7269, allocations: 256 kB / 0.8667 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.7281, allocations: 0.6945 MB / 0.8674 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.7281, allocations: 62 kB / 0.8674 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.7282, allocations: 76 kB / 0.8675 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.7297, allocations: 0.8989 MB / 0.8684 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.7297, allocations: 3.938 kB / 0.8684 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.7298, allocations: 36 kB / 0.8684 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.7298, allocations: 20 kB / 0.8684 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.7316, allocations: 1.1 MB / 0.8695 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.7356, allocations: 2.458 MB / 0.8719 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.7374, allocations: 0.7505 MB / 0.8726 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.7379, allocations: 270.6 kB / 0.8729 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.386e-05/0.738, allocations: 36.61 kB / 0.8729 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008184/0.7388, allocations: 447.2 kB / 0.8734 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.024e-06/0.7388, allocations: 0 / 0.8734 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.003042/0.7418, allocations: 1.056 MB / 0.8744 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.742, allocations: 188.6 kB / 0.8746 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.7428, allocations: 0.6253 MB / 0.8752 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.7428, allocations: 41.7 kB / 0.8752 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.7432, allocations: 393 kB / 0.8756 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.7434, allocations: 257.8 kB / 0.8758 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.7436, allocations: 142.2 kB / 0.876 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7438, allocations: 394.7 kB / 0.8763 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.7442, allocations: 221.2 kB / 0.8766 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.7448, allocations: 330.8 kB / 0.8769 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.7459, allocations: 0.555 MB / 0.8774 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7459, allocations: 0 / 0.8774 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001854/0.7478, allocations: 0.7591 MB / 0.8782 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7478, allocations: 4 kB / 0.8782 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7478, allocations: 4 kB / 0.8782 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.7484, allocations: 84.86 kB / 0.8782 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.7489, allocations: 147.7 kB / 0.8784 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.7511, allocations: 1.529 MB / 0.8799 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.7518, allocations: 89.95 kB / 0.88 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.7518, allocations: 27.98 kB / 0.88 GB, free: 0.9961 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: 7 (solAzi.outsidePolarCircle,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 (80): * Single equations (assignments): 79 * 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.0004738/0.7523, allocations: 257.6 kB / 0.8802 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.7525, allocations: 87.44 kB / 0.8803 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.7548, allocations: 1.058 MB / 0.8814 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.7548, allocations: 12 kB / 0.8814 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7548, allocations: 3.938 kB / 0.8814 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.7548, allocations: 3.984 kB / 0.8814 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.7583, allocations: 1.927 MB / 0.8833 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7583, allocations: 3.984 kB / 0.8833 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.7589, allocations: 151.8 kB / 0.8834 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004293/0.7593, allocations: 72.78 kB / 0.8835 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.7594, allocations: 27.98 kB / 0.8835 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.7614, allocations: 1.558 MB / 0.885 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7614, allocations: 0 / 0.885 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.7634, allocations: 0.9633 MB / 0.886 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.7639, allocations: 195.1 kB / 0.8861 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.764, allocations: 20 kB / 0.8862 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.7646, allocations: 59.88 kB / 0.8862 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.7647, allocations: 68.88 kB / 0.8863 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/0.7648, allocations: 32.05 kB / 0.8863 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006082/0.7654, allocations: 459 kB / 0.8868 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7654, allocations: 0 / 0.8868 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008774/0.7663, allocations: 311.1 kB / 0.8871 GB, free: 9.539 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 (93): * Single equations (assignments): 90 * 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.004187/0.7704, allocations: 2.029 MB / 0.889 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.7723, allocations: 0.7355 MB / 0.8898 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7723, allocations: 0 / 0.8898 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009854/0.7733, allocations: 492.3 kB / 0.8902 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.7748, allocations: 291.3 kB / 0.8905 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.7866, allocations: 6.131 MB / 0.8965 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/0.7873, allocations: 1.027 MB / 0.8975 GB, free: 14.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008094/0.7881, allocations: 270.4 kB / 0.8977 GB, free: 14.63 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.7886, allocations: 375.2 kB / 0.8981 GB, free: 14.26 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/0.7886, allocations: 0 / 0.8981 GB, free: 14.26 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/0.8457, allocations: 21.56 MB / 0.9192 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.36, allocations: 6.75 kB / 0.9192 GB, free: 8.867 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.23345157993026] Failed to read output from testmodel.py, exit status != 0: 14.640953026944771 14.656905634 13.931704274 Calling exit ...