Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.001339/0.001339, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001413/0.001413, allocations: 214.1 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.408/1.408, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.826/0.826, allocations: 134 MB / 446.4 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.001922/0.001922, allocations: 74.59 kB / 0.6185 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1754, allocations: 85.9 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.6009/0.7762, allocations: 170.6 MB / 0.869 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.7988, allocations: 17.49 MB / 0.8861 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.8001, allocations: 43.62 kB / 0.8861 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.8016, allocations: 0.5547 MB / 0.8867 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.8062, allocations: 1.699 MB / 0.8883 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.8098, allocations: 1.448 MB / 0.8897 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003445/0.8132, allocations: 2.558 MB / 0.8922 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.8156, allocations: 1.628 MB / 0.8938 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004188/0.8198, allocations: 1.439 MB / 0.8952 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.8214, allocations: 1.066 MB / 0.8963 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004412/0.8219, allocations: 208 kB / 0.8965 GB, free: 15.99 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.8255, allocations: 1.657 MB / 0.8981 GB, free: 14.33 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008485/0.8263, allocations: 0.7905 MB / 0.8989 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.8277, allocations: 1.189 MB / 0.9 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005971/0.8337, allocations: 3.598 MB / 0.9035 GB, free: 8.738 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.8337, allocations: 0 / 0.9035 GB, free: 8.738 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8337, allocations: 0 / 0.9035 GB, free: 8.738 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.367e-05/0.8337, allocations: 0 / 0.9035 GB, free: 8.738 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.005158/0.8389, allocations: 2.807 MB / 0.9063 GB, free: 5.883 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.839, allocations: 8.031 kB / 0.9063 GB, free: 5.875 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002918/0.8392, allocations: 244.5 kB / 0.9065 GB, free: 5.625 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004392/0.8436, allocations: 0.6267 MB / 0.9071 GB, free: 4.996 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/0.8487, allocations: 3.342 MB / 0.9104 GB, free: 1.621 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.8488, allocations: 123.3 kB / 0.9105 GB, free: 1.5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.849, allocations: 163.9 kB / 0.9107 GB, free: 1.34 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.8525, allocations: 1.872 MB / 0.9125 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.8525, allocations: 4 kB / 0.9125 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.8527, allocations: 75.94 kB / 0.9126 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.8527, allocations: 44 kB / 0.9126 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.8563, allocations: 2.038 MB / 0.9146 GB, free: 13.25 MB / 0.6856 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.0105/0.8668, allocations: 5.985 MB / 0.9204 GB, free: 7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.87, allocations: 1.605 MB / 0.922 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.8712, allocations: 0.6865 MB / 0.9227 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000496/0.8717, allocations: 125.3 kB / 0.9228 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/0.8734, allocations: 0.9308 MB / 0.9237 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.336e-06/0.8734, allocations: 0 / 0.9237 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006616/0.8801, allocations: 2.473 MB / 0.9261 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.8802, allocations: 201.2 kB / 0.9263 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005335/0.8855, allocations: 4.035 MB / 0.9303 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003407/0.8859, allocations: 61.7 kB / 0.9303 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/0.8869, allocations: 0.8799 MB / 0.9312 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005459/0.8874, allocations: 483.9 kB / 0.9316 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/0.8878, allocations: 218.9 kB / 0.9318 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.8879, allocations: 353.9 kB / 0.9322 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.889, allocations: 0.5374 MB / 0.9327 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.8903, allocations: 0.754 MB / 0.9334 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.8925, allocations: 1.263 MB / 0.9347 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8926, allocations: 0 / 0.9347 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00402/0.8966, allocations: 1.691 MB / 0.9363 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.8966, allocations: 7.938 kB / 0.9363 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.8966, allocations: 0 / 0.9363 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.8978, allocations: 220.1 kB / 0.9365 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.8993, allocations: 307.6 kB / 0.9368 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/0.9061, allocations: 6.807 MB / 0.9435 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.9077, allocations: 159 kB / 0.9436 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.9078, allocations: 47.97 kB / 0.9437 GB, free: 14.39 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001051/0.9089, allocations: 468.1 kB / 0.9441 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/0.9094, allocations: 198.7 kB / 0.9443 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.9139, allocations: 2.039 MB / 0.9463 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.9139, allocations: 16 kB / 0.9463 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.9139, allocations: 4 kB / 0.9463 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.9139, allocations: 7.969 kB / 0.9463 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/0.9212, allocations: 3.908 MB / 0.9502 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.9212, allocations: 0 / 0.9502 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.9226, allocations: 319.5 kB / 0.9505 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000907/0.9235, allocations: 204.1 kB / 0.9507 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.9236, allocations: 39.97 kB / 0.9507 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/0.9299, allocations: 6.832 MB / 0.9574 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9299, allocations: 3.969 kB / 0.9574 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.9341, allocations: 1.912 MB / 0.9592 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.9352, allocations: 434.1 kB / 0.9596 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/0.9355, allocations: 32 kB / 0.9597 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.9367, allocations: 91.91 kB / 0.9598 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.9369, allocations: 109 kB / 0.9599 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.937, allocations: 67.95 kB / 0.9599 GB, free: 13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003628/0.9407, allocations: 3.111 MB / 0.963 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9407, allocations: 0 / 0.963 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002016/0.9427, allocations: 0.6468 MB / 0.9636 GB, free: 9.246 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00657/0.9492, allocations: 3.085 MB / 0.9666 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003588/0.9528, allocations: 1.922 MB / 0.9685 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.9528, allocations: 4.891 kB / 0.9685 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.9551, allocations: 1.328 MB / 0.9698 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.9576, allocations: 0.5266 MB / 0.9703 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03315/0.9907, allocations: 20.52 MB / 0.9904 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.992, allocations: 1.513 MB / 0.9918 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001804/0.9938, allocations: 0.5205 MB / 0.9923 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.9951, allocations: 0.8585 MB / 0.9932 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of SimCode: time 1.193e-06/0.9951, allocations: 0 / 0.9932 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/1.106, allocations: 48.12 MB / 1.04 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/17.31, allocations: 11.09 kB / 1.04 GB, free: 10.92 MB / 0.8106 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.108602412001346] Failed to read output from testmodel.py, exit status != 0: 17.552175021002768 17.575039793 16.736985129 Calling exit ...