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.0007791/0.0007791, 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.001179/0.001179, allocations: 208.1 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.9294/0.9294, allocations: 230.6 MB / 256 MB, free: 9.582 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.7873/0.7873, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001219/0.001219, allocations: 60.69 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5058, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1537/0.6596, allocations: 156.1 MB / 0.9702 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.6743, allocations: 12.06 MB / 0.982 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.6757, allocations: 43.62 kB / 0.982 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.677, allocations: 472.3 kB / 0.9825 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.6802, allocations: 1.08 MB / 0.9835 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.6848, allocations: 1.897 MB / 0.9854 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003259/0.688, allocations: 2.559 MB / 0.9879 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.69, allocations: 1.26 MB / 0.9891 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.694, allocations: 1.65 MB / 0.9907 GB, free: 4 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.6955, allocations: 0.8243 MB / 0.9915 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005829/0.6961, allocations: 172 kB / 0.9917 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.6997, allocations: 1.283 MB / 0.9929 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006676/0.7004, allocations: 0.4946 MB / 0.9934 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.7018, allocations: 0.7271 MB / 0.9941 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.7076, allocations: 2.841 MB / 0.9969 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7076, allocations: 3.938 kB / 0.9969 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.387e-06/0.7076, allocations: 4 kB / 0.9969 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.735e-05/0.7077, allocations: 0 / 0.9969 GB, free: 13.63 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.003764/0.7115, allocations: 2.028 MB / 0.9989 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.7115, allocations: 12.03 kB / 0.9989 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002563/0.7118, allocations: 210.6 kB / 0.9991 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.7137, allocations: 458.5 kB / 0.9995 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.7152, allocations: 0.971 MB / 1 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.7153, allocations: 102.7 kB / 1.001 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.7154, allocations: 132 kB / 1.001 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.7177, allocations: 2.026 MB / 1.003 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.7177, allocations: 4 kB / 1.003 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.7178, allocations: 56 kB / 1.003 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.7178, allocations: 36 kB / 1.003 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.7197, allocations: 1.532 MB / 1.004 GB, free: 5.793 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.005263/0.7249, allocations: 3.999 MB / 1.008 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.7265, allocations: 1.148 MB / 1.009 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.727, allocations: 436.6 kB / 1.01 GB, free: 128 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003397/0.7273, allocations: 112.9 kB / 1.01 GB, free: 12 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000928/0.7283, allocations: 1.047 MB / 1.011 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=107): time 2.454e-06/0.7283, allocations: 0 / 1.011 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of matching and sorting (n=107): time 0.002657/0.7309, allocations: 1.601 MB / 1.012 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.731, allocations: 196.8 kB / 1.013 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.7323, allocations: 0.9206 MB / 1.013 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.7324, allocations: 49.7 kB / 1.014 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.7328, allocations: 0.6064 MB / 1.014 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.7331, allocations: 372.8 kB / 1.014 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.7333, allocations: 202.5 kB / 1.015 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7334, allocations: 345.9 kB / 1.015 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.7339, allocations: 373.8 kB / 1.015 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/0.7346, allocations: 0.7406 MB / 1.016 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.7357, allocations: 0.9371 MB / 1.017 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7357, allocations: 3.938 kB / 1.017 GB, free: 8.297 MB / 0.7917 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001833/0.7376, allocations: 1.192 MB / 1.018 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.7376, allocations: 4 kB / 1.018 GB, free: 7.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.7376, allocations: 7.938 kB / 1.018 GB, free: 7.082 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.738, allocations: 89.17 kB / 1.018 GB, free: 6.992 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.7385, allocations: 247.7 kB / 1.019 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.7403, allocations: 1.539 MB / 1.02 GB, free: 5.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/0.7412, allocations: 137.5 kB / 1.02 GB, free: 4.961 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/0.7412, allocations: 47.91 kB / 1.02 GB, free: 4.914 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.0006495/0.7419, allocations: 345.6 kB / 1.021 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.7421, allocations: 127.2 kB / 1.021 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.7441, allocations: 1.445 MB / 1.022 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.7442, allocations: 8 kB / 1.022 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.7442, allocations: 4 kB / 1.022 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7442, allocations: 7.969 kB / 1.022 GB, free: 2.965 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.003652/0.7478, allocations: 2.565 MB / 1.025 GB, free: 352 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.7478, allocations: 0 / 1.025 GB, free: 352 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.7484, allocations: 223.7 kB / 1.025 GB, free: 128 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002497/0.7486, allocations: 72.72 kB / 1.025 GB, free: 52 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.7487, allocations: 31.97 kB / 1.025 GB, free: 20 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.75, allocations: 1.559 MB / 1.026 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.75, allocations: 3.938 kB / 1.026 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.7521, allocations: 1.335 MB / 1.028 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004809/0.7526, allocations: 286.7 kB / 1.028 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7527, allocations: 27.89 kB / 1.028 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.7532, allocations: 79.98 kB / 1.028 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.7533, allocations: 96.77 kB / 1.028 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.7534, allocations: 55.95 kB / 1.028 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007014/0.7541, allocations: 0.635 MB / 1.029 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.7541, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001021/0.7551, allocations: 0.4948 MB / 1.029 GB, free: 11.3 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.003163/0.7583, allocations: 2.509 MB / 1.032 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.7599, allocations: 1.086 MB / 1.033 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7599, allocations: 4 kB / 1.033 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007754/0.7607, allocations: 0.629 MB / 1.033 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.7623, allocations: 0.5374 MB / 1.034 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.773, allocations: 9.007 MB / 1.043 GB, free: 13.55 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.7735, allocations: 0.6327 MB / 1.043 GB, free: 12.89 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000917/0.7744, allocations: 393.7 kB / 1.044 GB, free: 12.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.775, allocations: 0.5813 MB / 1.044 GB, free: 11.92 MB / 0.823 GB Notification: Performance of SimCode: time 1.112e-06/0.775, allocations: 0 / 1.044 GB, free: 11.92 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05014/0.8251, allocations: 37.03 MB / 1.081 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/9.475, allocations: 25.05 kB / 1.081 GB, free: 7.25 MB / 0.8542 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.54889370733872] Failed to read output from testmodel.py, exit status != 0: 9.633601834997535 9.641297277 8.931883539 Calling exit ...