Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.0008161/0.0008161, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008257/0.0008257, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8978/0.8978, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7214/0.7214, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.32e-05, allocations: 4.797 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4384/0.4384, allocations: 195.7 MB / 0.8092 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.00816/0.4466, allocations: 5.448 MB / 0.8145 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.4482, allocations: 58 kB / 0.8146 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.4499, allocations: 0.5611 MB / 0.8151 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.4544, allocations: 1.986 MB / 0.8171 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.457, allocations: 1.255 MB / 0.8183 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003323/0.4604, allocations: 3.051 MB / 0.8213 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.4615, allocations: 0.7771 MB / 0.822 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.4642, allocations: 1.677 MB / 0.8237 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.4661, allocations: 0.8905 MB / 0.8245 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.4663, allocations: 106.6 kB / 0.8246 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.4685, allocations: 1.204 MB / 0.8258 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005237/0.4691, allocations: 0.4893 MB / 0.8263 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.4697, allocations: 476 kB / 0.8267 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003069/0.4728, allocations: 2.176 MB / 0.8289 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4728, allocations: 0 / 0.8289 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4728, allocations: 2.719 kB / 0.8289 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.888e-05/0.4728, allocations: 0 / 0.8289 GB, free: 10.64 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002011/0.4748, allocations: 1.45 MB / 0.8303 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4749, allocations: 11.78 kB / 0.8303 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.475, allocations: 135.2 kB / 0.8304 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.4762, allocations: 331 kB / 0.8307 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.4774, allocations: 0.7937 MB / 0.8315 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.4775, allocations: 66.84 kB / 0.8316 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.415e-05/0.4776, allocations: 84.28 kB / 0.8317 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.4789, allocations: 1.365 MB / 0.833 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.4789, allocations: 0 / 0.833 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.479, allocations: 36 kB / 0.833 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/0.479, allocations: 30 kB / 0.833 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.48, allocations: 0.8315 MB / 0.8339 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.4837, allocations: 2.555 MB / 0.8364 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.4843, allocations: 472.6 kB / 0.8368 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.4846, allocations: 278.1 kB / 0.8371 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.4847, allocations: 24.48 kB / 0.8371 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4847, allocations: 39.06 kB / 0.8371 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.996e-06/0.4847, allocations: 0 / 0.8371 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.002708/0.4874, allocations: 1.671 MB / 0.8388 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.4875, allocations: 59.91 kB / 0.8388 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007451/0.4882, allocations: 0.8097 MB / 0.8396 GB, free: 444 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.4883, allocations: 41.64 kB / 0.8397 GB, free: 396 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.4885, allocations: 492.4 kB / 0.8401 GB, free: 15.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4887, allocations: 178.4 kB / 0.8403 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4888, allocations: 118.3 kB / 0.8404 GB, free: 15.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.4889, allocations: 326 kB / 0.8407 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.4892, allocations: 249.2 kB / 0.841 GB, free: 15.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.4896, allocations: 479.4 kB / 0.8414 GB, free: 14.49 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.4917, allocations: 1.461 MB / 0.8428 GB, free: 12.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4918, allocations: 4 kB / 0.8428 GB, free: 12.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009792/0.4927, allocations: 0.7975 MB / 0.8436 GB, free: 12.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.4928, allocations: 12.16 kB / 0.8436 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.4928, allocations: 4 kB / 0.8436 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.4929, allocations: 69.67 kB / 0.8437 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.4933, allocations: 143.8 kB / 0.8438 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.4951, allocations: 2.902 MB / 0.8467 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006096/0.4957, allocations: 31.88 kB / 0.8467 GB, free: 8.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.4957, allocations: 24 kB / 0.8467 GB, free: 8.762 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004553/0.4962, allocations: 307.9 kB / 0.847 GB, free: 8.457 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4963, allocations: 99.38 kB / 0.8471 GB, free: 8.359 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.4964, allocations: 100.7 kB / 0.8472 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4964, allocations: 4 kB / 0.8472 GB, free: 8.258 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4964, allocations: 96 / 0.8472 GB, free: 8.258 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007034/0.4971, allocations: 0.8403 MB / 0.848 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.499, allocations: 1.623 MB / 0.8496 GB, free: 5.613 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.499, allocations: 4 kB / 0.8496 GB, free: 5.609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.4994, allocations: 139.7 kB / 0.8498 GB, free: 5.473 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.77e-05/0.4994, allocations: 40.78 kB / 0.8498 GB, free: 5.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.4995, allocations: 11.98 kB / 0.8498 GB, free: 5.418 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008622/0.5003, allocations: 1.488 MB / 0.8513 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.5003, allocations: 11.97 kB / 0.8513 GB, free: 3.805 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.5015, allocations: 1.063 MB / 0.8523 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.5019, allocations: 159.4 kB / 0.8525 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.502, allocations: 16.11 kB / 0.8525 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.5024, allocations: 35.02 kB / 0.8525 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.5025, allocations: 47.81 kB / 0.8526 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.5025, allocations: 32.84 kB / 0.8526 GB, free: 2.406 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005545/0.5031, allocations: 0.5615 MB / 0.8531 GB, free: 1.848 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.5031, allocations: 0 / 0.8531 GB, free: 1.848 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007087/0.5038, allocations: 275.9 kB / 0.8534 GB, free: 1.578 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * 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 Backend phase and start with SimCode phase: time 0.001677/0.5055, allocations: 1.679 MB / 0.855 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.5066, allocations: 0.7882 MB / 0.8558 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5066, allocations: 0 / 0.8558 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.507, allocations: 408 kB / 0.8562 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.5088, allocations: 0.5945 MB / 0.8568 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007809/0.5166, allocations: 7.011 MB / 0.8636 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.5171, allocations: 0.497 MB / 0.8641 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006947/0.5178, allocations: 215.7 kB / 0.8643 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.5182, allocations: 344.4 kB / 0.8646 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of SimCode: time 1.573e-06/0.5182, allocations: 0 / 0.8646 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04853/0.5667, allocations: 30.27 MB / 0.8942 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.109/9.676, allocations: 10.33 kB / 0.8942 GB, free: 8.105 MB / 0.7448 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.471944426186383] Failed to read output from testmodel.py, exit status != 0: 9.779222732409835 9.79233344 9.316834737 Calling exit ...