Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0008626/0.0008626, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.000867/0.000867, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9592/0.9592, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7719/0.7719, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.001047/0.001047, allocations: 70.36 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4971, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002441/0.4996, allocations: 2.104 MB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00427/0.5038, allocations: 4.245 MB / 0.8241 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.5039, allocations: 2.312 kB / 0.8241 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.5047, allocations: 198.8 kB / 0.8243 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.779e-05/0.5048, allocations: 71.31 kB / 0.8243 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006972/0.5055, allocations: 305.8 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006808/0.5062, allocations: 400.8 kB / 0.825 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.5064, allocations: 36.66 kB / 0.825 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.5065, allocations: 112.3 kB / 0.8251 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.5067, allocations: 128.9 kB / 0.8253 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.5068, allocations: 20.47 kB / 0.8253 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005992/0.5074, allocations: 347.6 kB / 0.8256 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.5075, allocations: 106.2 kB / 0.8257 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.5077, allocations: 150.2 kB / 0.8259 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007689/0.5085, allocations: 0.5265 MB / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5085, allocations: 0 / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5085, allocations: 0 / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.5085, allocations: 2.188 kB / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001163/0.5096, allocations: 0.7009 MB / 0.8271 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5097, allocations: 11.11 kB / 0.8271 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.5097, allocations: 38.56 kB / 0.8271 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.5103, allocations: 160.7 kB / 0.8273 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.5108, allocations: 302.8 kB / 0.8275 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5108, allocations: 4.859 kB / 0.8276 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.5109, allocations: 9.594 kB / 0.8276 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.5112, allocations: 213.7 kB / 0.8278 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.5113, allocations: 0 / 0.8278 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.5113, allocations: 8.703 kB / 0.8278 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5113, allocations: 3.25 kB / 0.8278 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.5118, allocations: 254.6 kB / 0.828 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.5127, allocations: 0.5715 MB / 0.8286 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.513, allocations: 178.9 kB / 0.8287 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.5133, allocations: 141.2 kB / 0.8289 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.5133, allocations: 24.23 kB / 0.8289 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.5133, allocations: 36.69 kB / 0.8289 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.5133, allocations: 0 / 0.8289 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008073/0.5141, allocations: 462.6 kB / 0.8294 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.5142, allocations: 57.52 kB / 0.8294 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.5146, allocations: 423.5 kB / 0.8298 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.5146, allocations: 30.86 kB / 0.8299 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5147, allocations: 182.4 kB / 0.83 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.5147, allocations: 38.39 kB / 0.8301 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.5148, allocations: 48.75 kB / 0.8301 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.515, allocations: 349.4 kB / 0.8305 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.5153, allocations: 176.1 kB / 0.8306 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.5157, allocations: 182.6 kB / 0.8308 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.5165, allocations: 369.1 kB / 0.8312 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5165, allocations: 0.5 kB / 0.8312 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006976/0.5172, allocations: 482.8 kB / 0.8316 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.5172, allocations: 49.09 kB / 0.8317 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5172, allocations: 1.125 kB / 0.8317 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5173, allocations: 0.6562 kB / 0.8317 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.5175, allocations: 49.17 kB / 0.8317 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5175, allocations: 4.844 kB / 0.8317 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.5176, allocations: 35.62 kB / 0.8317 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.5176, allocations: 6.828 kB / 0.8318 GB, free: 8.965 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 0.0001568/0.5178, allocations: 157.9 kB / 0.8319 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.5179, allocations: 43.84 kB / 0.8319 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007683/0.5186, allocations: 378.8 kB / 0.8323 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5186, allocations: 1.25 kB / 0.8323 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5186, allocations: 3.938 kB / 0.8323 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5186, allocations: 2.062 kB / 0.8323 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.519, allocations: 331.1 kB / 0.8326 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.519, allocations: 3.938 kB / 0.8326 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.5192, allocations: 49.52 kB / 0.8327 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5192, allocations: 0 / 0.8327 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.5192, allocations: 9.016 kB / 0.8327 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5192, allocations: 1.125 kB / 0.8327 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5192, allocations: 4.688 kB / 0.8327 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.5198, allocations: 440.7 kB / 0.8331 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.5199, allocations: 52.31 kB / 0.8332 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.5199, allocations: 5.406 kB / 0.8332 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.5201, allocations: 28.8 kB / 0.8332 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.5201, allocations: 18.98 kB / 0.8332 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.5201, allocations: 4.656 kB / 0.8332 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002579/0.5204, allocations: 297.2 kB / 0.8335 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5204, allocations: 0 / 0.8335 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004672/0.5209, allocations: 124 kB / 0.8336 GB, free: 8.016 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0009576/0.5218, allocations: 1.026 MB / 0.8346 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007769/0.5226, allocations: 477.6 kB / 0.8351 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5226, allocations: 0 / 0.8351 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.5229, allocations: 150 kB / 0.8352 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.5232, allocations: 70.69 kB / 0.8353 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.5277, allocations: 4.282 MB / 0.8395 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.528, allocations: 0.7903 MB / 0.8402 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002081/0.5282, allocations: 57.52 kB / 0.8403 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.5283, allocations: 111.1 kB / 0.8404 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/0.5283, allocations: 4 kB / 0.8404 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.5545, allocations: 8.748 MB / 0.849 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.782, allocations: 1.688 kB / 0.849 GB, free: 15.74 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.674314200179651] Failed to read output from testmodel.py, exit status != 0: 7.873142516007647 7.890550252 7.379039466 Calling exit ...