Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 106 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] 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.7947/0.7947, allocations: 134 MB / 436.6 MB, free: 1.684 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 72.31 kB / 0.6051 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1529, allocations: 84.66 MB / 0.6878 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006337/0.1593, allocations: 4.079 MB / 0.6918 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4551/0.6144, allocations: 150.9 MB / 0.8391 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000573/0.615, allocations: 16.84 kB / 0.8391 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.6155, allocations: 170.3 kB / 0.8393 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.6167, allocations: 474.2 kB / 0.8397 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.6184, allocations: 0.7838 MB / 0.8405 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.6194, allocations: 1.163 MB / 0.8416 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006234/0.62, allocations: 447.5 kB / 0.8421 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004768/0.6205, allocations: 420.5 kB / 0.8425 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.621, allocations: 439.2 kB / 0.8429 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.621, allocations: 102 kB / 0.843 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006455/0.6217, allocations: 474.4 kB / 0.8434 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.6219, allocations: 263 kB / 0.8437 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.6223, allocations: 489.6 kB / 0.8442 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.6238, allocations: 1.468 MB / 0.8456 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6239, allocations: 0 / 0.8456 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6239, allocations: 0 / 0.8456 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.6239, allocations: 0 / 0.8456 GB, free: 9.113 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00201/0.6259, allocations: 1.336 MB / 0.8469 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.6259, allocations: 10.09 kB / 0.8469 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.6261, allocations: 134.7 kB / 0.847 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008268/0.6269, allocations: 177.1 kB / 0.8472 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.628, allocations: 0.7278 MB / 0.8479 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.628, allocations: 56.72 kB / 0.848 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/0.6281, allocations: 74.16 kB / 0.848 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.6294, allocations: 0.841 MB / 0.8489 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.6294, allocations: 0 / 0.8489 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.6294, allocations: 31.97 kB / 0.8489 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.6295, allocations: 19.56 kB / 0.8489 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.631, allocations: 1.059 MB / 0.8499 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.6344, allocations: 2.297 MB / 0.8522 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.6355, allocations: 0.7305 MB / 0.8529 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.6359, allocations: 253.9 kB / 0.8531 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.639e-05/0.636, allocations: 33.11 kB / 0.8532 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006618/0.6367, allocations: 410.6 kB / 0.8536 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 1.743e-06/0.6367, allocations: 0 / 0.8536 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.002732/0.6394, allocations: 1.057 MB / 0.8546 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.6395, allocations: 190.6 kB / 0.8548 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.6402, allocations: 0.5761 MB / 0.8553 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.6402, allocations: 43.83 kB / 0.8554 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.6405, allocations: 375.4 kB / 0.8557 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.6408, allocations: 245.5 kB / 0.856 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.6409, allocations: 130.6 kB / 0.8561 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6411, allocations: 373.5 kB / 0.8565 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.6415, allocations: 209.4 kB / 0.8567 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.642, allocations: 320 kB / 0.857 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008842/0.6429, allocations: 0.5137 MB / 0.8575 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6429, allocations: 0 / 0.8575 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001634/0.6445, allocations: 0.7084 MB / 0.8582 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6445, allocations: 4 kB / 0.8582 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6445, allocations: 0 / 0.8582 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.6451, allocations: 84.44 kB / 0.8582 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/0.6456, allocations: 136.6 kB / 0.8584 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.6478, allocations: 1.624 MB / 0.86 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.6483, allocations: 78.36 kB / 0.86 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.6483, allocations: 27.98 kB / 0.8601 GB, free: 13.89 MB / 0.6231 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.0003238/0.6486, allocations: 254.4 kB / 0.8603 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6488, allocations: 75.53 kB / 0.8604 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.6509, allocations: 0.9453 MB / 0.8613 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.6509, allocations: 11.94 kB / 0.8613 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.6509, allocations: 0 / 0.8613 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.651, allocations: 3.984 kB / 0.8613 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.654, allocations: 1.798 MB / 0.8631 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.654, allocations: 0 / 0.8631 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.6545, allocations: 135.9 kB / 0.8632 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.6549, allocations: 72.73 kB / 0.8633 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.655, allocations: 27.92 kB / 0.8633 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.657, allocations: 1.662 MB / 0.8649 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.657, allocations: 0 / 0.8649 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.6588, allocations: 0.8878 MB / 0.8658 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.6592, allocations: 256.3 kB / 0.866 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.6593, allocations: 12 kB / 0.866 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/0.6598, allocations: 55.89 kB / 0.8661 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6599, allocations: 60.91 kB / 0.8661 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.66, allocations: 27.98 kB / 0.8662 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005223/0.6605, allocations: 423.1 kB / 0.8666 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6605, allocations: 0 / 0.8666 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007121/0.6612, allocations: 291.1 kB / 0.8669 GB, free: 6.66 MB / 0.6231 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.00381/0.665, allocations: 1.938 MB / 0.8687 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.6664, allocations: 0.681 MB / 0.8694 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6664, allocations: 3.984 kB / 0.8694 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008177/0.6672, allocations: 452.2 kB / 0.8698 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6683, allocations: 282.1 kB / 0.8701 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.6784, allocations: 5.776 MB / 0.8758 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/0.6791, allocations: 0.9952 MB / 0.8767 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007431/0.6799, allocations: 254 kB / 0.877 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.6804, allocations: 335.3 kB / 0.8773 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.6804, allocations: 0 / 0.8773 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05532/0.7357, allocations: 19.58 MB / 0.8964 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.97, allocations: 3.938 kB / 0.8964 GB, free: 8.723 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.328136942349374] Failed to read output from testmodel.py, exit status != 0: 13.168938604183495 13.182665969 12.556099093 Calling exit ...