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.0009426/0.0009426, 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.0009149/0.0009149, allocations: 213.8 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.9675/0.9675, allocations: 230.6 MB / 256 MB, free: 9.84 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.7677/0.7677, allocations: 203.8 MB / 0.5042 GB, free: 10.79 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.001364/0.001364, allocations: 64.8 kB / 0.7182 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4516, allocations: 102 MB / 0.8179 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.149/0.6005, allocations: 180.6 MB / 0.9942 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.6132, allocations: 13.15 MB / 1.007 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009115/0.6141, allocations: 39.69 kB / 1.007 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.6152, allocations: 492.3 kB / 1.008 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.6174, allocations: 1.075 MB / 1.009 GB, free: 2.008 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.6208, allocations: 1.959 MB / 1.011 GB, free: 60 kB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002511/0.6233, allocations: 2.567 MB / 1.013 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.6247, allocations: 1.295 MB / 1.014 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003112/0.6278, allocations: 1.644 MB / 1.016 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.6288, allocations: 0.9025 MB / 1.017 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.629, allocations: 176 kB / 1.017 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.6316, allocations: 1.525 MB / 1.018 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.6319, allocations: 0.4984 MB / 1.019 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005899/0.6325, allocations: 0.8825 MB / 1.02 GB, free: 6.516 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.6352, allocations: 2.857 MB / 1.023 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6352, allocations: 4 kB / 1.023 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6352, allocations: 0 / 1.023 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.367e-05/0.6353, allocations: 7.922 kB / 1.023 GB, free: 3.637 MB / 0.7917 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.002364/0.6376, allocations: 2.032 MB / 1.025 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.6377, allocations: 16.03 kB / 1.025 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.6378, allocations: 206.6 kB / 1.025 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.6395, allocations: 462.5 kB / 1.025 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.6407, allocations: 0.9671 MB / 1.026 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.6407, allocations: 102.7 kB / 1.026 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.6409, allocations: 136 kB / 1.026 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.6425, allocations: 1.53 MB / 1.028 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.6425, allocations: 0 / 1.028 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.6426, allocations: 60 kB / 1.028 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.6426, allocations: 32 kB / 1.028 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.6444, allocations: 1.587 MB / 1.03 GB, free: 12.36 MB / 0.8073 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.004739/0.6491, allocations: 5.35 MB / 1.035 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.6507, allocations: 1.147 MB / 1.036 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/0.6512, allocations: 452.6 kB / 1.036 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003265/0.6515, allocations: 116.8 kB / 1.036 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007894/0.6523, allocations: 0.6904 MB / 1.037 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=107): time 1.853e-06/0.6523, allocations: 0 / 1.037 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.002568/0.6549, allocations: 1.605 MB / 1.039 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/0.655, allocations: 200.9 kB / 1.039 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/0.6558, allocations: 0.909 MB / 1.04 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.6559, allocations: 45.7 kB / 1.04 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.6562, allocations: 0.6142 MB / 1.04 GB, free: 0.8008 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.6564, allocations: 372.8 kB / 1.041 GB, free: 444 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.6566, allocations: 202.5 kB / 1.041 GB, free: 236 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6568, allocations: 345.9 kB / 1.041 GB, free: 15.89 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.6572, allocations: 373.8 kB / 1.042 GB, free: 15.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.6578, allocations: 0.5632 MB / 1.042 GB, free: 14.89 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6589, allocations: 0.9332 MB / 1.043 GB, free: 13.92 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6589, allocations: 0 / 1.043 GB, free: 13.92 MB / 0.823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001541/0.6604, allocations: 1.192 MB / 1.044 GB, free: 12.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.6604, allocations: 8 kB / 1.044 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.6604, allocations: 0 / 1.044 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.6607, allocations: 89.17 kB / 1.044 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.6613, allocations: 239.7 kB / 1.045 GB, free: 12.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.6628, allocations: 1.551 MB / 1.046 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.6636, allocations: 139.2 kB / 1.046 GB, free: 10.58 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.562e-05/0.6637, allocations: 47.97 kB / 1.046 GB, free: 10.53 MB / 0.823 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.0005367/0.6642, allocations: 346.2 kB / 1.047 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.6644, allocations: 135.2 kB / 1.047 GB, free: 10.05 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.6672, allocations: 1.421 MB / 1.048 GB, free: 8.617 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.6672, allocations: 12 kB / 1.048 GB, free: 8.605 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6672, allocations: 0 / 1.048 GB, free: 8.605 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.6672, allocations: 15.91 kB / 1.048 GB, free: 8.59 MB / 0.823 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.004493/0.6717, allocations: 2.868 MB / 1.051 GB, free: 5.645 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6717, allocations: 4 kB / 1.051 GB, free: 5.641 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007532/0.6725, allocations: 215.7 kB / 1.051 GB, free: 5.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.6728, allocations: 80.67 kB / 1.051 GB, free: 5.348 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.6729, allocations: 31.97 kB / 1.051 GB, free: 5.316 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.6745, allocations: 1.566 MB / 1.053 GB, free: 3.629 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6745, allocations: 0 / 1.053 GB, free: 3.629 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.677, allocations: 1.335 MB / 1.054 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000567/0.6775, allocations: 290.7 kB / 1.054 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.6777, allocations: 27.94 kB / 1.054 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.6783, allocations: 80.47 kB / 1.054 GB, free: 1.883 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.6784, allocations: 84.84 kB / 1.055 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/0.6785, allocations: 55.95 kB / 1.055 GB, free: 1.746 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005875/0.6791, allocations: 0.635 MB / 1.055 GB, free: 1.102 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.6791, allocations: 0 / 1.055 GB, free: 1.102 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008477/0.6799, allocations: 0.4948 MB / 1.056 GB, free: 0.6055 MB / 0.823 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.002797/0.6827, allocations: 2.49 MB / 1.058 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.6841, allocations: 1.081 MB / 1.059 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6841, allocations: 0 / 1.059 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/0.6847, allocations: 0.6334 MB / 1.06 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.6859, allocations: 0.5195 MB / 1.06 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009294/0.6952, allocations: 9.003 MB / 1.069 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.6958, allocations: 1.213 MB / 1.07 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008367/0.6966, allocations: 401.5 kB / 1.071 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/0.6972, allocations: 0.5813 MB / 1.071 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/0.6972, allocations: 0 / 1.071 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/0.7457, allocations: 35.24 MB / 1.106 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.764/10.51, allocations: 9.344 kB / 1.106 GB, free: 13.64 MB / 0.8855 GB " [Timeout remaining time 649] (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: 13.595810418017209] Failed to read output from testmodel.py, exit status != 0: 10.67029228899628 10.678179086 10.041148677 Calling exit ...