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.001334/0.001334, allocations: 106.7 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001451/0.001451, allocations: 212 kB / 19.43 MB, free: 3.637 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.428/1.428, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.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.2551/0.2551, allocations: 25.04 MB / 306.7 MB, free: 13.94 MB / 254.1 MB " [Timeout remaining time 180] 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.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(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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 64.25 kB / 431.2 MB, free: 26.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1022, allocations: 55.01 MB / 486.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.003124/0.1053, allocations: 1.586 MB / 487.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1066, allocations: 0.6562 MB / 488.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.1067, allocations: 4 kB / 488.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.1067, allocations: 7.922 kB / 488.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.064e-05/0.1067, allocations: 7.922 kB / 488.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.1072, allocations: 75.55 kB / 488.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.902e-05/0.1073, allocations: 31.86 kB / 488.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.1073, allocations: 4 kB / 488.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.1074, allocations: 19.86 kB / 488.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.1074, allocations: 4 kB / 488.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-06/0.1074, allocations: 0 / 488.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.1077, allocations: 71.86 kB / 488.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.1077, allocations: 7.922 kB / 488.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.1077, allocations: 11.94 kB / 488.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1079, allocations: 63.8 kB / 488.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1079, allocations: 0 / 488.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1079, allocations: 4 kB / 488.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1079, allocations: 0 / 488.8 MB, free: 0.7695 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.0004352/0.1083, allocations: 343.3 kB / 489.1 MB, free: 396 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1084, allocations: 8.031 kB / 489.1 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.982e-05/0.1085, allocations: 42.7 kB / 489.2 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.1085, allocations: 8.891 kB / 489.2 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1087, allocations: 172.3 kB / 489.3 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1087, allocations: 384 / 489.3 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1087, allocations: 8.375 kB / 489.4 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1088, allocations: 63.47 kB / 489.4 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1088, allocations: 0 / 489.4 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1088, allocations: 8 kB / 489.4 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1088, allocations: 0 / 489.4 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.1089, allocations: 8 kB / 489.4 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.1093, allocations: 357 kB / 489.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.248e-05/0.1094, allocations: 53.16 kB / 489.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.1095, allocations: 13.78 kB / 489.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005419/0.11, allocations: 210.2 kB / 490.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.1101, allocations: 42.55 kB / 490.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1101, allocations: 0 / 490.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002061/0.1103, allocations: 49.62 kB / 490.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.1103, allocations: 81.11 kB / 490.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1104, allocations: 105.8 kB / 490.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1104, allocations: 25.7 kB / 490.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.1105, allocations: 92.28 kB / 490.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.1105, allocations: 19.89 kB / 490.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1106, allocations: 13.72 kB / 490.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1107, allocations: 314.8 kB / 490.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.1107, allocations: 8 kB / 490.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.31e-05/0.1108, allocations: 13.72 kB / 490.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.1108, allocations: 29.67 kB / 490.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1108, allocations: 0 / 490.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.781e-05/0.1109, allocations: 41.64 kB / 490.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1109, allocations: 8 kB / 490.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1109, allocations: 3.938 kB / 490.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1109, allocations: 0 / 490.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.005e-05/0.111, allocations: 8 kB / 490.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.111, allocations: 0 / 490.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.111, allocations: 7.922 kB / 490.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.111, allocations: 0 / 490.9 MB, free: 14.35 MB / 366.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 9.683e-05/0.1111, allocations: 113.9 kB / 491 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.1111, allocations: 3.953 kB / 491 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.1113, allocations: 52.75 kB / 491.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1113, allocations: 0 / 491.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1113, allocations: 0 / 491.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1113, allocations: 3.938 kB / 491.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.1116, allocations: 270.6 kB / 491.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1116, allocations: 8.312 kB / 491.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.1116, allocations: 4 kB / 491.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1116, allocations: 0 / 491.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1117, allocations: 4 kB / 491.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1117, allocations: 3.938 kB / 491.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1117, allocations: 0 / 491.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.1118, allocations: 214.8 kB / 491.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.1119, allocations: 89.03 kB / 491.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.1119, allocations: 0 / 491.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.112, allocations: 11.88 kB / 491.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.112, allocations: 4 kB / 491.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.112, allocations: 0 / 491.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.652e-05/0.112, allocations: 83.27 kB / 491.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.112, allocations: 0 / 491.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1123, allocations: 19.94 kB / 491.8 MB, free: 13.38 MB / 366.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.0006303/0.113, allocations: 0.7897 MB / 492.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1131, allocations: 37.64 kB / 492.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1131, allocations: 0 / 492.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.1131, allocations: 41.64 kB / 492.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1134, allocations: 8.328 kB / 492.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1147, allocations: 1.315 MB / 494 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.115, allocations: 0.6768 MB / 494.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.1151, allocations: 7.906 kB / 494.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.1151, allocations: 19.41 kB / 494.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1151, allocations: 0 / 494.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.1408, allocations: 1.488 MB / 496.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.316, allocations: 16.05 kB / 496.2 MB, free: 8.848 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_res.csv --start-time 0 --stop-time 100000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60.024 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: 11.056226919405162] Failed to read output from testmodel.py, exit status != 0: 8.381830960977823 8.397133654 8.286325498 Calling exit ...