Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.0008637/0.0008637, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001526/0.001526, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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 0.9273/0.9273, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7837/0.7837, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.0009251/0.0009251, allocations: 64.34 kB / 0.7182 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4768, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004725/0.4816, allocations: 4.378 MB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1319/0.6134, allocations: 132.7 MB / 0.9516 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.6143, allocations: 23.81 kB / 0.9516 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.6149, allocations: 198.2 kB / 0.9518 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.6163, allocations: 0.5627 MB / 0.9524 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.618, allocations: 0.8595 MB / 0.9532 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.6191, allocations: 1.382 MB / 0.9546 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005311/0.6196, allocations: 394.4 kB / 0.9549 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.6201, allocations: 0.4944 MB / 0.9554 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.6204, allocations: 449.8 kB / 0.9559 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.6205, allocations: 116 kB / 0.956 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.6215, allocations: 499.6 kB / 0.9564 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.6217, allocations: 303.1 kB / 0.9567 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.622, allocations: 457.8 kB / 0.9572 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.6233, allocations: 1.679 MB / 0.9588 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6233, allocations: 0 / 0.9588 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6233, allocations: 0 / 0.9588 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.6233, allocations: 0 / 0.9588 GB, free: 4.785 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001595/0.6249, allocations: 1.4 MB / 0.9602 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6249, allocations: 11.97 kB / 0.9602 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.625, allocations: 131.3 kB / 0.9603 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008243/0.6259, allocations: 236 kB / 0.9605 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.6267, allocations: 0.7141 MB / 0.9612 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.6267, allocations: 62 kB / 0.9613 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.6268, allocations: 76 kB / 0.9614 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.6278, allocations: 1.158 MB / 0.9625 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6278, allocations: 3.984 kB / 0.9625 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.6279, allocations: 36 kB / 0.9625 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.6279, allocations: 20 kB / 0.9626 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.629, allocations: 1.05 MB / 0.9636 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.6312, allocations: 2.186 MB / 0.9657 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.6322, allocations: 0.7429 MB / 0.9664 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.6325, allocations: 282.3 kB / 0.9667 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.6325, allocations: 32.56 kB / 0.9667 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005664/0.6331, allocations: 0.5761 MB / 0.9673 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=79): time 1.793e-06/0.6331, allocations: 0 / 0.9673 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=79): time 0.001798/0.6349, allocations: 1.113 MB / 0.9684 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.635, allocations: 192.6 kB / 0.9686 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.6355, allocations: 0.6527 MB / 0.9692 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.6355, allocations: 45.64 kB / 0.9693 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.6357, allocations: 397 kB / 0.9696 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.6359, allocations: 269.7 kB / 0.9699 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.636, allocations: 146.6 kB / 0.97 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003665/0.6364, allocations: 390.7 kB / 0.9704 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.6367, allocations: 241.9 kB / 0.9706 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.6371, allocations: 483.1 kB / 0.9711 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.6377, allocations: 0.5799 MB / 0.9717 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6377, allocations: 0 / 0.9717 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001064/0.6388, allocations: 0.7984 MB / 0.9724 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6388, allocations: 4 kB / 0.9724 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-06/0.6388, allocations: 4 kB / 0.9724 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.6391, allocations: 88.84 kB / 0.9725 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.6394, allocations: 143.8 kB / 0.9727 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.6407, allocations: 1.519 MB / 0.9741 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.6411, allocations: 91.72 kB / 0.9742 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.6411, allocations: 36.05 kB / 0.9743 GB, free: 4.375 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003012/0.6414, allocations: 277.5 kB / 0.9745 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6415, allocations: 83.48 kB / 0.9746 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.6429, allocations: 1.046 MB / 0.9756 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6429, allocations: 12 kB / 0.9756 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.6429, allocations: 3.938 kB / 0.9757 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.6429, allocations: 7.922 kB / 0.9757 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.645, allocations: 1.77 MB / 0.9774 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.645, allocations: 0 / 0.9774 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.6453, allocations: 139.8 kB / 0.9775 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.6455, allocations: 76.78 kB / 0.9776 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.6456, allocations: 23.98 kB / 0.9776 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.6467, allocations: 1.551 MB / 0.9791 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6467, allocations: 3.984 kB / 0.9791 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.6478, allocations: 0.9946 MB / 0.9801 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.6481, allocations: 195.1 kB / 0.9803 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.6481, allocations: 31.92 kB / 0.9803 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.6485, allocations: 59.94 kB / 0.9804 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6486, allocations: 72.86 kB / 0.9805 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.6486, allocations: 39.97 kB / 0.9805 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003958/0.649, allocations: 471 kB / 0.9809 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.1e-08/0.649, allocations: 0 / 0.9809 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006155/0.6496, allocations: 315.2 kB / 0.9812 GB, free: 13.02 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002314/0.6519, allocations: 2.071 MB / 0.9833 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.653, allocations: 0.7648 MB / 0.984 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.653, allocations: 0 / 0.984 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.6538, allocations: 496.4 kB / 0.9845 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.6545, allocations: 306.8 kB / 0.9848 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006173/0.6606, allocations: 6.229 MB / 0.9909 GB, free: 3.238 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.6609, allocations: 431.6 kB / 0.9913 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007411/0.6617, allocations: 262.7 kB / 0.9915 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.662, allocations: 387.3 kB / 0.9919 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/0.662, allocations: 0 / 0.9919 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04009/0.7021, allocations: 23.21 MB / 1.015 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.754, allocations: 14.19 kB / 1.015 GB, free: 11.14 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.677869367413223] Failed to read output from testmodel.py, exit status != 0: 8.899543625302613 8.909189104 8.284065339 Calling exit ...