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.001447/0.001447, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001584/0.001584, allocations: 211.8 kB / 22.24 MB, free: 5.258 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.316/1.316, allocations: 207.7 MB / 233.1 MB, free: 9.773 MB / 190.1 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.1962/0.1962, allocations: 25.01 MB / 310.3 MB, free: 12.59 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.002064/0.002064, allocations: 82.95 kB / 436.4 MB, free: 24.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07463/0.0767, allocations: 55.04 MB / 491.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002624/0.07932, allocations: 1.582 MB / 493 MB, free: 100 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.08036, allocations: 0.6056 MB / 493.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.08039, allocations: 0 / 493.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.08042, allocations: 0 / 493.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.643e-05/0.08045, allocations: 7.922 kB / 493.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.08078, allocations: 79.67 kB / 493.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.545e-05/0.08083, allocations: 31.8 kB / 493.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.079e-05/0.08086, allocations: 4 kB / 493.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.08088, allocations: 4 kB / 493.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.213e-05/0.08091, allocations: 15.91 kB / 493.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.08092, allocations: 0 / 493.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.08111, allocations: 55.94 kB / 493.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.08112, allocations: 4 kB / 493.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.08114, allocations: 11.94 kB / 493.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.08128, allocations: 59.8 kB / 493.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.08129, allocations: 0 / 493.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08129, allocations: 4 kB / 493.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.08129, allocations: 0 / 493.9 MB, free: 15.21 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.0002922/0.08158, allocations: 274.1 kB / 494.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.08162, allocations: 11.98 kB / 494.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/0.08168, allocations: 42.7 kB / 494.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.0817, allocations: 4.891 kB / 494.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.193e-05/0.08179, allocations: 114.5 kB / 494.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.0818, allocations: 384 / 494.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.08181, allocations: 8.375 kB / 494.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.08192, allocations: 67.45 kB / 494.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-06/0.08193, allocations: 0 / 494.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.08194, allocations: 11.94 kB / 494.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.08194, allocations: 0 / 494.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.08197, allocations: 8 kB / 494.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.08232, allocations: 324 kB / 494.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.869e-05/0.08239, allocations: 45.16 kB / 494.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.08241, allocations: 17.78 kB / 494.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.08279, allocations: 63.89 kB / 494.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.08282, allocations: 34.56 kB / 494.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.08282, allocations: 0 / 494.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001599/0.08298, allocations: 53.62 kB / 494.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.08303, allocations: 77.11 kB / 495 MB, free: 13.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/0.08311, allocations: 105.8 kB / 495.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.08312, allocations: 29.7 kB / 495.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.08317, allocations: 88.03 kB / 495.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.08318, allocations: 15.91 kB / 495.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.08321, allocations: 13.7 kB / 495.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.08334, allocations: 319 kB / 495.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.08335, allocations: 8 kB / 495.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.08337, allocations: 13.72 kB / 495.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.08341, allocations: 29.64 kB / 495.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.08341, allocations: 0 / 495.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.027e-05/0.08348, allocations: 41.7 kB / 495.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.557e-06/0.08349, allocations: 4 kB / 495.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.0835, allocations: 4 kB / 495.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.08351, allocations: 4.094 kB / 495.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.713e-05/0.08354, allocations: 3.938 kB / 495.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.08355, allocations: 4 kB / 495.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.08356, allocations: 3.938 kB / 495.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.08357, allocations: 3.984 kB / 495.7 MB, free: 13.17 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 6.693e-05/0.08364, allocations: 109.8 kB / 495.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.08367, allocations: 3.953 kB / 495.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.598e-05/0.08376, allocations: 45.02 kB / 495.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.08376, allocations: 7.922 kB / 495.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.08377, allocations: 0 / 495.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.08377, allocations: 7.969 kB / 495.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.08404, allocations: 241.7 kB / 496.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.08405, allocations: 4 kB / 496.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-06/0.08406, allocations: 0 / 496.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.08406, allocations: 0 / 496.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.08406, allocations: 4 kB / 496.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.08407, allocations: 7.922 kB / 496.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.08407, allocations: 0 / 496.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.0842, allocations: 210.8 kB / 496.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.08422, allocations: 11.92 kB / 496.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.08423, allocations: 8.062 kB / 496.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.0843, allocations: 4.188 kB / 496.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.08431, allocations: 4 kB / 496.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.08432, allocations: 7.938 kB / 496.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.08436, allocations: 79.28 kB / 496.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08436, allocations: 0 / 496.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.08462, allocations: 27.88 kB / 496.5 MB, free: 12.31 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.0004914/0.08511, allocations: 0.7781 MB / 497.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.744e-05/0.08521, allocations: 45.78 kB / 497.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.08521, allocations: 0 / 497.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.08524, allocations: 37.64 kB / 497.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.0855, allocations: 4 kB / 497.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.08657, allocations: 1.315 MB / 498.6 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.08662, allocations: 63.34 kB / 498.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.943e-06/0.08663, allocations: 224 / 498.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.08665, allocations: 15.48 kB / 498.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.08665, allocations: 3.938 kB / 498.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.1132, allocations: 1.987 MB / 0.489 GB, free: 7.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.34, allocations: 3.281 kB / 0.489 GB, free: 7.934 MB / 366.1 MB " [Timeout remaining time 650] (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.76123228808865] Failed to read output from testmodel.py, exit status != 0: 10.452295801136643 10.466802348 10.382764937 Calling exit ...