Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.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.0007492/0.0007492, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007768/0.0007768, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8204/0.8204, allocations: 158.6 MB / 185 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo): time 0.06828/0.06828, allocations: 19.08 MB / 256.3 MB, free: 12.35 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/Utilities/LinProgFunc.mo:6:1-33:16:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1666,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1666,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 382.9 MB, free: 7.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.17e-05, allocations: 6.281 kB / 382.9 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002036/0.002058, allocations: 1.58 MB / 384.5 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.002983, allocations: 0.6045 MB / 385.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.003019, allocations: 0 / 385.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.003059, allocations: 0 / 385.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.601e-05/0.003105, allocations: 15.86 kB / 385.1 MB, free: 5.641 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.003467, allocations: 75.61 kB / 385.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.003529, allocations: 31.8 kB / 385.2 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.00357, allocations: 0 / 385.2 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.003604, allocations: 11.98 kB / 385.3 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.582e-05/0.00363, allocations: 7.984 kB / 385.3 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.00364, allocations: 0 / 385.3 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.003835, allocations: 63.81 kB / 385.3 MB, free: 5.453 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.00385, allocations: 3.984 kB / 385.3 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.003868, allocations: 4 kB / 385.3 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.004016, allocations: 79.72 kB / 385.4 MB, free: 5.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.00402, allocations: 4 kB / 385.4 MB, free: 5.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004021, allocations: 0 / 385.4 MB, free: 5.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.004025, allocations: 0 / 385.4 MB, free: 5.363 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002727/0.004298, allocations: 270.2 kB / 385.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.004338, allocations: 11.98 kB / 385.7 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.004372, allocations: 8.891 kB / 385.7 MB, free: 5.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.743e-05/0.00446, allocations: 109.7 kB / 385.8 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.004472, allocations: 4.359 kB / 385.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.004482, allocations: 4.375 kB / 385.8 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.004599, allocations: 51.92 kB / 385.9 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004607, allocations: 4.188 kB / 385.9 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.004615, allocations: 4.359 kB / 385.9 MB, free: 4.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004621, allocations: 3.938 kB / 385.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.004644, allocations: 11.98 kB / 385.9 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.004941, allocations: 272.8 kB / 386.2 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.398e-05/0.005005, allocations: 45.14 kB / 386.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.005029, allocations: 13.84 kB / 386.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.00533, allocations: 63.89 kB / 386.3 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.005354, allocations: 38.5 kB / 386.3 MB, free: 4.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.005355, allocations: 0 / 386.3 MB, free: 4.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000183/0.005538, allocations: 53.58 kB / 386.4 MB, free: 4.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.005584, allocations: 85.05 kB / 386.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.005658, allocations: 97.86 kB / 386.6 MB, free: 4.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.005668, allocations: 25.7 kB / 386.6 MB, free: 4.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.005711, allocations: 92.08 kB / 386.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.005719, allocations: 7.953 kB / 386.7 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.005745, allocations: 17.97 kB / 386.7 MB, free: 3.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.005826, allocations: 314.8 kB / 387 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.005841, allocations: 11.98 kB / 387 MB, free: 3.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.00586, allocations: 17.72 kB / 387 MB, free: 3.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.005889, allocations: 25.66 kB / 387.1 MB, free: 3.527 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.005891, allocations: 0 / 387.1 MB, free: 3.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.422e-05/0.005945, allocations: 45.64 kB / 387.1 MB, free: 3.477 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.005959, allocations: 10.48 kB / 387.1 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.005975, allocations: 4.094 kB / 387.1 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.005988, allocations: 4 kB / 387.1 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/0.006033, allocations: 3.938 kB / 387.1 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.00604, allocations: 3.984 kB / 387.1 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.006058, allocations: 11.89 kB / 387.1 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.006064, allocations: 0 / 387.1 MB, free: 3.441 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.006116, allocations: 105.8 kB / 387.2 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.006137, allocations: 7.938 kB / 387.2 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.006214, allocations: 45 kB / 387.3 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.006216, allocations: 0 / 387.3 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.006222, allocations: 8.281 kB / 387.3 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006225, allocations: 0 / 387.3 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.006392, allocations: 222.2 kB / 387.5 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.006396, allocations: 4 kB / 387.5 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.006407, allocations: 0 / 387.5 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.006408, allocations: 0 / 387.5 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.006416, allocations: 7.984 kB / 387.5 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006417, allocations: 0 / 387.5 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006418, allocations: 0 / 387.5 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.864e-05/0.006517, allocations: 218.7 kB / 387.7 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.006524, allocations: 16.05 kB / 387.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.006534, allocations: 0 / 387.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.157e-05/0.006576, allocations: 0 / 387.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.006588, allocations: 0 / 387.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.006591, allocations: 4 kB / 387.8 MB, free: 2.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.731e-05/0.006618, allocations: 79.28 kB / 387.8 MB, free: 2.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006618, allocations: 0 / 387.8 MB, free: 2.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.006819, allocations: 27.86 kB / 387.9 MB, free: 2.641 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.006971, allocations: 123.1 kB / 388 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.873e-05/0.007069, allocations: 53.56 kB / 388 MB, free: 2.453 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007071, allocations: 0 / 388 MB, free: 2.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.594e-05/0.007087, allocations: 33.7 kB / 388.1 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.007282, allocations: 3.938 kB / 388.1 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.007812, allocations: 155.3 kB / 388.2 MB, free: 2.223 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.007859, allocations: 67.28 kB / 388.3 MB, free: 2.137 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.007875, allocations: 8.5 kB / 388.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007875, allocations: 256 / 388.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of Templates: time 0.001763/0.009638, allocations: 0.7536 MB / 389.1 MB, free: 1.375 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.makefile [Timeout 660] (rm -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; mkfifo SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; head -c 1048576 < SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe >> ../files/SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.sim & ./SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun -abortSlowSimulation -alarm=480 -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.1433493830263615] Failed to read output from testmodel.py, exit status != 0: 0.015514480881392956 0.024526970000000002 0.018567597 Calling exit ...