Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001219/0.001219, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.00144/0.00144, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9526/0.9526, allocations: 230.6 MB / 256 MB, free: 9.617 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.7876/0.7876, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.001391/0.001391, allocations: 67.09 kB / 0.7182 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4717, allocations: 102 MB / 0.8178 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1427/0.6144, allocations: 156.1 MB / 0.9702 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.6252, allocations: 12.06 MB / 0.982 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007362/0.6259, allocations: 43.62 kB / 0.982 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000936/0.6268, allocations: 472.3 kB / 0.9825 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.6286, allocations: 1.068 MB / 0.9835 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.6314, allocations: 1.908 MB / 0.9854 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.6329, allocations: 2.547 MB / 0.9879 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.6342, allocations: 1.267 MB / 0.9891 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.6364, allocations: 1.641 MB / 0.9907 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006241/0.637, allocations: 0.8282 MB / 0.9915 GB, free: 3.062 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.6372, allocations: 172 kB / 0.9917 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.6387, allocations: 1.287 MB / 0.9929 GB, free: 1.605 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.639, allocations: 0.4907 MB / 0.9934 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004692/0.6395, allocations: 0.7388 MB / 0.9941 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.6417, allocations: 2.837 MB / 0.9969 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6417, allocations: 0 / 0.9969 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6418, allocations: 0 / 0.9969 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.6418, allocations: 0 / 0.9969 GB, free: 13.52 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.002213/0.644, allocations: 2.035 MB / 0.9989 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.644, allocations: 8.031 kB / 0.9989 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.6442, allocations: 206.6 kB / 0.9991 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.6459, allocations: 466.5 kB / 0.9995 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.647, allocations: 0.9671 MB / 1 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.647, allocations: 102.7 kB / 1.001 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.6471, allocations: 128 kB / 1.001 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.6492, allocations: 2.038 MB / 1.003 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.6492, allocations: 0 / 1.003 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/0.6493, allocations: 56 kB / 1.003 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.6494, allocations: 36 kB / 1.003 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.651, allocations: 1.532 MB / 1.004 GB, free: 5.676 MB / 0.7761 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/0.6549, allocations: 3.99 MB / 1.008 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.6565, allocations: 1.148 MB / 1.009 GB, free: 456 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.657, allocations: 440.6 kB / 1.01 GB, free: 16 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.6573, allocations: 104.9 kB / 1.01 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008465/0.6582, allocations: 1.051 MB / 1.011 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=107): time 1.994e-06/0.6582, allocations: 0 / 1.011 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of matching and sorting (n=107): time 0.00237/0.6606, allocations: 1.601 MB / 1.012 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.6606, allocations: 200.8 kB / 1.013 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/0.6614, allocations: 0.9206 MB / 1.013 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.6615, allocations: 49.7 kB / 1.014 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.6618, allocations: 0.6064 MB / 1.014 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.662, allocations: 368.8 kB / 1.014 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.6621, allocations: 198.5 kB / 1.015 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.6622, allocations: 345.9 kB / 1.015 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.6627, allocations: 381.8 kB / 1.015 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.6636, allocations: 0.7312 MB / 1.016 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/0.6646, allocations: 0.941 MB / 1.017 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6646, allocations: 0 / 1.017 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001464/0.666, allocations: 1.193 MB / 1.018 GB, free: 6.992 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.666, allocations: 8 kB / 1.018 GB, free: 6.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.666, allocations: 0 / 1.018 GB, free: 6.984 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003072/0.6663, allocations: 96.77 kB / 1.018 GB, free: 6.887 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.6669, allocations: 243.7 kB / 1.018 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.6681, allocations: 1.548 MB / 1.02 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.6686, allocations: 141.5 kB / 1.02 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.6686, allocations: 43.97 kB / 1.02 GB, free: 4.805 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003473/0.669, allocations: 337.5 kB / 1.021 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.6691, allocations: 131.2 kB / 1.021 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.6709, allocations: 1.441 MB / 1.022 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6709, allocations: 12 kB / 1.022 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6709, allocations: 0 / 1.022 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6709, allocations: 7.969 kB / 1.022 GB, free: 2.863 MB / 0.7917 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.6738, allocations: 2.573 MB / 1.025 GB, free: 240 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6738, allocations: 0 / 1.025 GB, free: 240 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.6743, allocations: 219.7 kB / 1.025 GB, free: 20 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.6745, allocations: 80.72 kB / 1.025 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.6745, allocations: 27.97 kB / 1.025 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.6756, allocations: 1.559 MB / 1.026 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6756, allocations: 0 / 1.026 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.677, allocations: 1.335 MB / 1.028 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.6774, allocations: 286.7 kB / 1.028 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-05/0.6775, allocations: 31.89 kB / 1.028 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.6779, allocations: 75.92 kB / 1.028 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.6781, allocations: 88.83 kB / 1.028 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.6781, allocations: 55.89 kB / 1.028 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005583/0.6787, allocations: 0.6428 MB / 1.029 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.6787, allocations: 4 kB / 1.029 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000815/0.6795, allocations: 0.4909 MB / 1.029 GB, free: 11.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002992/0.6825, allocations: 2.506 MB / 1.032 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.6838, allocations: 1.082 MB / 1.033 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6838, allocations: 8 kB / 1.033 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.6845, allocations: 0.625 MB / 1.033 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6857, allocations: 0.5459 MB / 1.034 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009161/0.6948, allocations: 9.008 MB / 1.043 GB, free: 13.45 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.6952, allocations: 0.6328 MB / 1.043 GB, free: 12.78 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001044/0.6963, allocations: 386.1 kB / 1.044 GB, free: 12.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/0.6968, allocations: 0.5773 MB / 1.044 GB, free: 11.82 MB / 0.823 GB Notification: Performance of SimCode: time 6.62e-07/0.6968, allocations: 0 / 1.044 GB, free: 11.82 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/0.7436, allocations: 37.04 MB / 1.081 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/9.216, allocations: 12.56 kB / 1.081 GB, free: 7.152 MB / 0.8542 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.243594282772392] Failed to read output from testmodel.py, exit status != 0: 9.377844781149179 9.386939161 8.743346595 Calling exit ...