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.001345/0.001345, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001493/0.001493, allocations: 220.4 kB / 22.26 MB, free: 5.125 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.547/1.547, allocations: 207.6 MB / 233 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] 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.1296/0.1296, allocations: 25.01 MB / 310.3 MB, free: 12.77 MB / 254.1 MB " [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: "" <> 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.002251/0.002251, allocations: 70.45 kB / 436.4 MB, free: 24.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1118, allocations: 55.06 MB / 491.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.003011/0.1148, allocations: 1.582 MB / 493 MB, free: 308 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1161, allocations: 0.6718 MB / 493.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.1161, allocations: 3.938 kB / 493.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.1161, allocations: 3.938 kB / 493.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.1162, allocations: 3.938 kB / 493.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.1166, allocations: 83.72 kB / 493.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.1166, allocations: 19.86 kB / 493.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1167, allocations: 4 kB / 493.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.1167, allocations: 11.94 kB / 493.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.753e-05/0.1167, allocations: 4 kB / 493.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-06/0.1167, allocations: 0 / 493.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.117, allocations: 75.84 kB / 493.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.117, allocations: 3.938 kB / 493.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.117, allocations: 15.94 kB / 493.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1172, allocations: 67.78 kB / 494 MB, free: 15.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1172, allocations: 4 kB / 494 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1172, allocations: 0 / 494 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1172, allocations: 0 / 494 MB, free: 15.32 MB / 366.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.0003383/0.1175, allocations: 266.2 kB / 494.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1176, allocations: 15.98 kB / 494.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.264e-05/0.1176, allocations: 38.69 kB / 494.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.1177, allocations: 8.828 kB / 494.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1178, allocations: 114.5 kB / 494.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1178, allocations: 12.31 kB / 494.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.1178, allocations: 384 / 494.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1179, allocations: 63.53 kB / 494.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1179, allocations: 0 / 494.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1179, allocations: 0 / 494.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1179, allocations: 0 / 494.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.769e-05/0.118, allocations: 19.92 kB / 494.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.1185, allocations: 324.1 kB / 494.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.1186, allocations: 41.09 kB / 494.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1187, allocations: 25.83 kB / 494.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.1192, allocations: 55.95 kB / 495 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1192, allocations: 34.56 kB / 495 MB, free: 14.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.1192, allocations: 0 / 495 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001957/0.1194, allocations: 49.62 kB / 495 MB, free: 14.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.1194, allocations: 81.05 kB / 495.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1195, allocations: 110.1 kB / 495.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1196, allocations: 25.7 kB / 495.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1197, allocations: 100 kB / 495.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.1197, allocations: 7.906 kB / 495.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1197, allocations: 17.7 kB / 495.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1199, allocations: 322.7 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.1199, allocations: 4 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.1199, allocations: 9.719 kB / 495.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.12, allocations: 29.73 kB / 495.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.12, allocations: 0 / 495.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.629e-05/0.1201, allocations: 45.64 kB / 495.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1201, allocations: 8 kB / 495.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1201, allocations: 0 / 495.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1201, allocations: 0 / 495.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.55e-05/0.1202, allocations: 4 kB / 495.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1202, allocations: 4.062 kB / 495.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.1202, allocations: 3.938 kB / 495.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1202, allocations: 3.984 kB / 495.8 MB, free: 13.29 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 8.035e-05/0.1203, allocations: 109.8 kB / 495.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1203, allocations: 7.953 kB / 495.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1204, allocations: 44.95 kB / 496 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1204, allocations: 3.984 kB / 496 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1204, allocations: 0 / 496 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1204, allocations: 7.969 kB / 496 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1207, allocations: 237.7 kB / 496.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1207, allocations: 7.922 kB / 496.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.1207, allocations: 7.938 kB / 496.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1207, allocations: 0 / 496.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1207, allocations: 0 / 496.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1208, allocations: 7.938 kB / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1208, allocations: 0 / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.1209, allocations: 218.9 kB / 496.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.1209, allocations: 3.938 kB / 496.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1209, allocations: 4.188 kB / 496.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.121, allocations: 11.94 kB / 496.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.121, allocations: 0 / 496.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.121, allocations: 0 / 496.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.958e-05/0.1211, allocations: 87.27 kB / 496.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1211, allocations: 4.031 kB / 496.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1214, allocations: 27.83 kB / 496.6 MB, free: 12.42 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.0005796/0.1219, allocations: 0.7703 MB / 497.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1221, allocations: 45.73 kB / 497.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1221, allocations: 4.062 kB / 497.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.1221, allocations: 29.7 kB / 497.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.1224, allocations: 4 kB / 497.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1237, allocations: 1.319 MB / 498.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.1241, allocations: 0.6846 MB / 499.4 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.544e-06/0.1241, allocations: 0 / 499.4 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.1242, allocations: 11.44 kB / 499.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1242, allocations: 0 / 499.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.1533, allocations: 1.624 MB / 0.4893 GB, free: 7.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.68, allocations: 0 / 0.4893 GB, free: 7.801 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.642012067000906] Failed to read output from testmodel.py, exit status != 0: 11.785878765003872 11.804869563 11.684321737 Calling exit ...