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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-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.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: translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001469, allocations: 112.7 kB / 16.42 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 190.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1781/0.1781, allocations: 24.83 MB / 295.4 MB, free: 3.133 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 76.5 kB / 413 MB, free: 33.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07467/0.07613, allocations: 52.29 MB / 465.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002398/0.07857, allocations: 1.574 MB / 466.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.07954, allocations: 0.6521 MB / 467.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.07958, allocations: 3.938 kB / 467.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.07963, allocations: 3.984 kB / 467.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.561e-05/0.07967, allocations: 11.94 kB / 467.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.08001, allocations: 75.66 kB / 467.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.08007, allocations: 31.81 kB / 467.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.08012, allocations: 3.984 kB / 467.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.08014, allocations: 7.984 kB / 467.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.08018, allocations: 7.938 kB / 467.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.08019, allocations: 4 kB / 467.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.08042, allocations: 67.92 kB / 467.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.08044, allocations: 8 kB / 467.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.08047, allocations: 19.8 kB / 467.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.08062, allocations: 63.86 kB / 467.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.08063, allocations: 3.938 kB / 467.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.08064, allocations: 0 / 467.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.08065, allocations: 0 / 467.8 MB, free: 10.62 MB / 350.1 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.0003101/0.08096, allocations: 339.4 kB / 468.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.08101, allocations: 12.03 kB / 468.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.08104, allocations: 0.9375 kB / 468.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.08116, allocations: 176.2 kB / 468.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-06/0.08117, allocations: 384 / 468.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.08119, allocations: 384 / 468.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.08129, allocations: 55.72 kB / 468.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.08131, allocations: 3.938 kB / 468.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.08132, allocations: 0 / 468.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.08133, allocations: 0 / 468.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.08136, allocations: 15.97 kB / 468.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.0817, allocations: 337 kB / 468.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.429e-05/0.08178, allocations: 45.16 kB / 468.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.08181, allocations: 21.84 kB / 468.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004653/0.08228, allocations: 218.1 kB / 469 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.08232, allocations: 42.5 kB / 469 MB, free: 9.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.08233, allocations: 0 / 469 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001621/0.08249, allocations: 41.7 kB / 469.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.08254, allocations: 81.05 kB / 469.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.08262, allocations: 106.1 kB / 469.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.08264, allocations: 29.7 kB / 469.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.08268, allocations: 84.05 kB / 469.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.0827, allocations: 15.83 kB / 469.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.08273, allocations: 13.72 kB / 469.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.08291, allocations: 318.8 kB / 469.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.08293, allocations: 0 / 469.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.08295, allocations: 21.66 kB / 469.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.083, allocations: 25.73 kB / 469.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.08301, allocations: 0 / 469.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.606e-05/0.08309, allocations: 49.55 kB / 469.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.08311, allocations: 7.938 kB / 469.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.08313, allocations: 4 kB / 469.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.08314, allocations: 0 / 469.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.073e-05/0.08318, allocations: 3.984 kB / 469.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.08319, allocations: 4.062 kB / 469.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.08321, allocations: 4 kB / 469.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.08322, allocations: 0 / 469.8 MB, free: 8.293 MB / 350.1 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 6.165e-05/0.08329, allocations: 117.7 kB / 469.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.08333, allocations: 4 kB / 469.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.08342, allocations: 44.81 kB / 470 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.08343, allocations: 0 / 470 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.08344, allocations: 4 kB / 470 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.08349, allocations: 85.05 kB / 470.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.0835, allocations: 0 / 470.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.08358, allocations: 3.938 kB / 470.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.0836, allocations: 4 kB / 470.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001017/0.08371, allocations: 200.2 kB / 470.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001358/0.08385, allocations: 290.1 kB / 470.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.005e-05/0.08388, allocations: 8 kB / 470.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.258e-05/0.08392, allocations: 83.22 kB / 470.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of Backend: time 3.31e-07/0.08392, allocations: 0 / 470.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004696/0.0844, allocations: 132.1 kB / 470.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of SimCode: time 0.0003999/0.08481, allocations: 0.6113 MB / 471.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of Templates: time 0.002509/0.08733, allocations: 0.544 MB / 471.9 MB, free: 6.055 MB / 350.1 MB make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.makefile (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)