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.0008769/0.0008769, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001085/0.001085, allocations: 218.3 kB / 22.26 MB, free: 3.695 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 1.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.629 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.858/0.858, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001707/0.001707, allocations: 71.16 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.556, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005523/0.5615, allocations: 5.086 MB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1502/0.7117, allocations: 154.3 MB / 0.9736 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008122/0.7125, allocations: 27.75 kB / 0.9736 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.7131, allocations: 198.2 kB / 0.9738 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.7146, allocations: 0.5892 MB / 0.9743 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.7164, allocations: 0.8929 MB / 0.9752 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.7178, allocations: 1.475 MB / 0.9767 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.7184, allocations: 425.9 kB / 0.9771 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006121/0.719, allocations: 0.5334 MB / 0.9776 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.7195, allocations: 0.5445 MB / 0.9781 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.7196, allocations: 128 kB / 0.9782 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008728/0.7205, allocations: 0.5191 MB / 0.9787 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.7207, allocations: 318.9 kB / 0.979 GB, free: 424 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.7211, allocations: 0.583 MB / 0.9796 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.7231, allocations: 1.742 MB / 0.9813 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.7231, allocations: 4 kB / 0.9813 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.006e-06/0.7231, allocations: 0 / 0.9813 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.7231, allocations: 0 / 0.9813 GB, free: 14.08 MB / 0.7605 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.0018/0.7249, allocations: 1.476 MB / 0.9828 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7249, allocations: 8.031 kB / 0.9828 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.725, allocations: 139.7 kB / 0.9829 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.7262, allocations: 275.8 kB / 0.9832 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.7273, allocations: 0.7296 MB / 0.9839 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.7274, allocations: 69.98 kB / 0.9839 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.303e-05/0.7275, allocations: 84 kB / 0.984 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.7286, allocations: 0.9652 MB / 0.985 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.7287, allocations: 7.938 kB / 0.985 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.7287, allocations: 36 kB / 0.985 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.7287, allocations: 31.98 kB / 0.985 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.7299, allocations: 1.155 MB / 0.9862 GB, free: 9 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003891/0.7338, allocations: 2.873 MB / 0.989 GB, free: 6 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.7349, allocations: 0.7858 MB / 0.9897 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.7353, allocations: 298.7 kB / 0.99 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.215e-05/0.7353, allocations: 36.67 kB / 0.9901 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006584/0.736, allocations: 0.5254 MB / 0.9906 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=88): time 1.714e-06/0.736, allocations: 0 / 0.9906 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of matching and sorting (n=88): time 0.002049/0.738, allocations: 1.235 MB / 0.9918 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.7381, allocations: 196.8 kB / 0.992 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/0.7387, allocations: 0.6686 MB / 0.9926 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.7388, allocations: 45.69 kB / 0.9927 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.739, allocations: 429.1 kB / 0.9931 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.7392, allocations: 297.4 kB / 0.9934 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.7393, allocations: 162.6 kB / 0.9935 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003759/0.7397, allocations: 394.7 kB / 0.9939 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.74, allocations: 269.9 kB / 0.9941 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.7405, allocations: 386.5 kB / 0.9945 GB, free: 184 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007445/0.7412, allocations: 0.6359 MB / 0.9951 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7412, allocations: 0 / 0.9951 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001222/0.7424, allocations: 0.8803 MB / 0.996 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.7425, allocations: 8 kB / 0.996 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.7425, allocations: 0 / 0.996 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.7428, allocations: 84.83 kB / 0.9961 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.7431, allocations: 163.8 kB / 0.9962 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.7445, allocations: 1.532 MB / 0.9977 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.7449, allocations: 103.4 kB / 0.9978 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.7449, allocations: 39.97 kB / 0.9979 GB, free: 12.6 MB / 0.7761 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.0003575/0.7453, allocations: 277.4 kB / 0.9981 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.7454, allocations: 91.38 kB / 0.9982 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.747, allocations: 1.172 MB / 0.9994 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.747, allocations: 12 kB / 0.9994 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.747, allocations: 0 / 0.9994 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.747, allocations: 3.984 kB / 0.9994 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.7478, allocations: 0.9222 MB / 1 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7478, allocations: 0 / 1 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.7481, allocations: 155.7 kB / 1 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.7483, allocations: 76.72 kB / 1.001 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.7483, allocations: 31.97 kB / 1.001 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.7497, allocations: 1.555 MB / 1.002 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7497, allocations: 0 / 1.002 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.751, allocations: 0.9986 MB / 1.003 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.7513, allocations: 219 kB / 1.003 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.7514, allocations: 19.94 kB / 1.003 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.7517, allocations: 71.92 kB / 1.003 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.7519, allocations: 80.84 kB / 1.003 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.7519, allocations: 39.97 kB / 1.003 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004552/0.7524, allocations: 499 kB / 1.004 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2e-07/0.7524, allocations: 0 / 1.004 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007176/0.7531, allocations: 339.2 kB / 1.004 GB, free: 5.863 MB / 0.7761 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.002624/0.7557, allocations: 2.063 MB / 1.006 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.757, allocations: 0.8313 MB / 1.007 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.757, allocations: 0 / 1.007 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006368/0.7577, allocations: 0.5196 MB / 1.008 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.7586, allocations: 308.6 kB / 1.008 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008785/0.7674, allocations: 6.607 MB / 1.014 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/0.7682, allocations: 1.044 MB / 1.015 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006933/0.7689, allocations: 271.2 kB / 1.016 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.7693, allocations: 419.3 kB / 1.016 GB, free: 9.82 MB / 0.7917 GB Notification: Performance of SimCode: time 2.104e-06/0.7693, allocations: 0 / 1.016 GB, free: 9.82 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.8109, allocations: 23.7 MB / 1.039 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.796/9.607, allocations: 6.688 kB / 1.039 GB, free: 2.305 MB / 0.8073 GB " [Timeout remaining time 650] (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: 12.851433845004067] Failed to read output from testmodel.py, exit status != 0: 9.759055043105036 9.768165305 9.043194581 Calling exit ...