Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.0007575/0.0007575, 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.001/0.001, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9145/0.9145, allocations: 230.6 MB / 256 MB, free: 9.613 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.7742/0.7742, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001272/0.001272, allocations: 65.48 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4657, allocations: 102 MB / 0.8178 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004558/0.4703, allocations: 4.543 MB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1253/0.5956, allocations: 132.9 MB / 0.952 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.5966, allocations: 27.81 kB / 0.952 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.5972, allocations: 202.1 kB / 0.9522 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.5989, allocations: 0.5898 MB / 0.9528 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.6005, allocations: 0.8714 MB / 0.9536 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.6018, allocations: 1.471 MB / 0.9551 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006258/0.6024, allocations: 402 kB / 0.9555 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/0.603, allocations: 0.5412 MB / 0.956 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.6034, allocations: 0.4898 MB / 0.9565 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.6036, allocations: 124 kB / 0.9566 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.6043, allocations: 499.6 kB / 0.9571 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.6045, allocations: 315 kB / 0.9574 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.6049, allocations: 485.7 kB / 0.9578 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.6066, allocations: 1.753 MB / 0.9595 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6066, allocations: 0 / 0.9595 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.246e-06/0.6066, allocations: 4 kB / 0.9595 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.6066, allocations: 0 / 0.9595 GB, free: 3.914 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001972/0.6086, allocations: 1.468 MB / 0.961 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6086, allocations: 12.03 kB / 0.961 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.6088, allocations: 139.7 kB / 0.9611 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6098, allocations: 271.9 kB / 0.9614 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.6108, allocations: 0.7374 MB / 0.9621 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.6109, allocations: 62 kB / 0.9621 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/0.611, allocations: 88 kB / 0.9622 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.6122, allocations: 1.216 MB / 0.9634 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.6122, allocations: 7.938 kB / 0.9634 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.6122, allocations: 40 kB / 0.9635 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.6122, allocations: 20 kB / 0.9635 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.6134, allocations: 1.112 MB / 0.9646 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/0.6161, allocations: 2.388 MB / 0.9669 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.617, allocations: 0.787 MB / 0.9677 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.6174, allocations: 291.5 kB / 0.9679 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.6174, allocations: 32.62 kB / 0.968 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006024/0.618, allocations: 0.6308 MB / 0.9686 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=88): time 1.744e-06/0.618, allocations: 0 / 0.9686 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88): time 0.001875/0.6199, allocations: 1.223 MB / 0.9698 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.62, allocations: 204.8 kB / 0.97 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.6205, allocations: 0.6725 MB / 0.9706 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.6205, allocations: 41.7 kB / 0.9707 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.6207, allocations: 425.2 kB / 0.9711 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.6209, allocations: 301.4 kB / 0.9714 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.621, allocations: 170.5 kB / 0.9715 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6211, allocations: 390.8 kB / 0.9719 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.6215, allocations: 273.8 kB / 0.9722 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.6221, allocations: 0.503 MB / 0.9727 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.6228, allocations: 0.632 MB / 0.9733 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6228, allocations: 0 / 0.9733 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001119/0.624, allocations: 0.8803 MB / 0.9741 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.624, allocations: 4 kB / 0.9741 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.624, allocations: 0 / 0.9741 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/0.6243, allocations: 88.83 kB / 0.9742 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.6246, allocations: 167.8 kB / 0.9744 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.6258, allocations: 1.519 MB / 0.9759 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.6262, allocations: 111.4 kB / 0.976 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.6262, allocations: 39.98 kB / 0.976 GB, free: 2.449 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0002497/0.6265, allocations: 271.1 kB / 0.9763 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.6266, allocations: 95.39 kB / 0.9764 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.628, allocations: 1.164 MB / 0.9775 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.628, allocations: 8 kB / 0.9775 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.628, allocations: 0 / 0.9775 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.628, allocations: 3.984 kB / 0.9775 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.6286, allocations: 0.7858 MB / 0.9783 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6286, allocations: 0 / 0.9783 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.6289, allocations: 159.8 kB / 0.9784 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.6291, allocations: 80.66 kB / 0.9785 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.6292, allocations: 23.98 kB / 0.9785 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.6305, allocations: 1.551 MB / 0.98 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6305, allocations: 4.062 kB / 0.9801 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.6317, allocations: 0.9984 MB / 0.981 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.632, allocations: 211.1 kB / 0.9812 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.116e-05/0.6321, allocations: 31.88 kB / 0.9813 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.6324, allocations: 61.91 kB / 0.9813 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.6325, allocations: 80.84 kB / 0.9814 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.6325, allocations: 43.97 kB / 0.9814 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003969/0.6329, allocations: 499 kB / 0.9819 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.6329, allocations: 0 / 0.9819 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00055/0.6335, allocations: 339.1 kB / 0.9822 GB, free: 11.88 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00226/0.6357, allocations: 2.09 MB / 0.9843 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.6368, allocations: 0.8272 MB / 0.9851 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6368, allocations: 4.188 kB / 0.9851 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.6373, allocations: 0.5158 MB / 0.9856 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.638, allocations: 324.5 kB / 0.9859 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006754/0.6447, allocations: 6.596 MB / 0.9923 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.645, allocations: 461.9 kB / 0.9928 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004982/0.6455, allocations: 271.2 kB / 0.993 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.646, allocations: 415.2 kB / 0.9934 GB, free: 436 kB / 0.7605 GB Notification: Performance of SimCode: time 5.21e-07/0.646, allocations: 4 kB / 0.9934 GB, free: 432 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04151/0.6875, allocations: 24.7 MB / 1.018 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.631, allocations: 7.969 kB / 1.018 GB, free: 7.93 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.53764225402847] Failed to read output from testmodel.py, exit status != 0: 8.784278354141861 8.792039376 8.183625976 Calling exit ...