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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 106.1 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 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 1.71/1.71, allocations: 207.6 MB / 229.8 MB, free: 4.246 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.2592/0.2592, allocations: 25.05 MB / 306.7 MB, free: 7.34 MB / 254.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(SolarTherm.Models.Sources.SolarModel.Sun,fileNamePrefix="SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SolarTherm.Models.Sources.SolarModel.Sun,fileNamePrefix="SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.003229/0.003229, allocations: 75.89 kB / 431.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3206, allocations: 55.01 MB / 486.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.003033/0.3237, allocations: 1.576 MB / 487.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3249, allocations: 0.6688 MB / 488.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.325, allocations: 0 / 488.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.325, allocations: 3.938 kB / 488.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.3251, allocations: 3.938 kB / 488.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.3255, allocations: 87.66 kB / 488.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.706e-05/0.3256, allocations: 23.86 kB / 488.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.953e-05/0.3257, allocations: 7.984 kB / 488.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.247e-05/0.3257, allocations: 4 kB / 488.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.154e-05/0.3257, allocations: 11.92 kB / 488.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3257, allocations: 0 / 488.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.326, allocations: 67.88 kB / 488.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.326, allocations: 7.922 kB / 488.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.326, allocations: 19.92 kB / 488.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.3262, allocations: 66.2 kB / 488.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3262, allocations: 0 / 488.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3262, allocations: 0 / 488.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3262, allocations: 0 / 488.7 MB, free: 11.72 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.0004109/0.3266, allocations: 347.3 kB / 489.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3267, allocations: 12.03 kB / 489.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.64e-05/0.3268, allocations: 34.7 kB / 489.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.3268, allocations: 8.891 kB / 489.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3269, allocations: 164.3 kB / 489.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.327, allocations: 4.375 kB / 489.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.327, allocations: 8.375 kB / 489.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.3271, allocations: 67.52 kB / 489.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3271, allocations: 3.984 kB / 489.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3271, allocations: 0 / 489.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3271, allocations: 0 / 489.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.3272, allocations: 15.94 kB / 489.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.3276, allocations: 357 kB / 489.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.38e-05/0.3277, allocations: 45.08 kB / 489.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.3278, allocations: 17.84 kB / 489.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/0.3283, allocations: 210.2 kB / 490 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3283, allocations: 30.56 kB / 490 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.3283, allocations: 0 / 490 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000199/0.3285, allocations: 53.62 kB / 490.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.3286, allocations: 81.05 kB / 490.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3287, allocations: 105.8 kB / 490.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3287, allocations: 33.83 kB / 490.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.3288, allocations: 92.09 kB / 490.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.3288, allocations: 15.84 kB / 490.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.3288, allocations: 9.719 kB / 490.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.329, allocations: 326.8 kB / 490.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.329, allocations: 0 / 490.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.329, allocations: 13.72 kB / 490.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.3291, allocations: 25.75 kB / 490.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3291, allocations: 0 / 490.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.553e-05/0.3292, allocations: 49.62 kB / 490.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3292, allocations: 4 kB / 490.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3292, allocations: 0 / 490.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3292, allocations: 4.047 kB / 490.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.629e-05/0.3292, allocations: 3.984 kB / 490.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3292, allocations: 0 / 490.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.3293, allocations: 12 kB / 490.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3293, allocations: 0 / 490.8 MB, free: 9.305 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 8.075e-05/0.3293, allocations: 105.8 kB / 490.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.3294, allocations: 15.88 kB / 491 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.3295, allocations: 40.83 kB / 491 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3295, allocations: 0 / 491 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3295, allocations: 4.25 kB / 491 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3295, allocations: 3.938 kB / 491 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.3298, allocations: 282.6 kB / 491.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3298, allocations: 0 / 491.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.3299, allocations: 4 kB / 491.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3299, allocations: 0 / 491.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3299, allocations: 3.984 kB / 491.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3299, allocations: 3.938 kB / 491.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3299, allocations: 0 / 491.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.33, allocations: 214.9 kB / 491.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.3301, allocations: 89.05 kB / 491.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.3301, allocations: 0 / 491.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.3302, allocations: 3.938 kB / 491.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.3302, allocations: 3.938 kB / 491.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3302, allocations: 7.938 kB / 491.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.008e-05/0.3303, allocations: 79.28 kB / 491.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3303, allocations: 0 / 491.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3306, allocations: 31.86 kB / 491.7 MB, free: 8.324 MB / 350.1 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.0005958/0.3312, allocations: 0.7781 MB / 492.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.3313, allocations: 49.5 kB / 492.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3313, allocations: 224 / 492.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.3313, allocations: 37.7 kB / 492.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3316, allocations: 4 kB / 492.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3329, allocations: 1.315 MB / 493.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3333, allocations: 0.6846 MB / 494.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.431e-05/0.3333, allocations: 3.906 kB / 494.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.3333, allocations: 11.44 kB / 494.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3333, allocations: 0 / 494.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.3598, allocations: 1.498 MB / 496.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/9.032, allocations: 7.938 kB / 496.1 MB, free: 3.793 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun_fmu --startTime=0 --stopTime=100000 --stepSize=60.024 --timeout=50 --tolerance=1e-06 SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun.fmu > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.025283099152148] Failed to read output from testmodel.py, exit status != 0: 9.107988215051591 9.138323987 8.806689481 Calling exit ...