Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.0008507/0.0008507, 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.00101/0.00101, allocations: 170.3 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.8749/0.8749, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7242/0.7242, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.296e-05, allocations: 6.828 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03005/0.03006, allocations: 45.51 MB / 0.6626 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.04204, allocations: 11.91 MB / 0.6742 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.04314, allocations: 111.1 kB / 0.6743 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.04434, allocations: 0.764 MB / 0.675 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.04708, allocations: 2.004 MB / 0.677 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.2828/0.3298, allocations: 1.468 MB / 0.6784 GB, free: 45.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003538/0.3334, allocations: 3.345 MB / 0.6817 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009455/0.3343, allocations: 0.9704 MB / 0.6826 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/0.3365, allocations: 1.933 MB / 0.6845 GB, free: 45.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006776/0.3372, allocations: 0.7917 MB / 0.6853 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3373, allocations: 98.62 kB / 0.6854 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.3386, allocations: 0.9018 MB / 0.6863 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3387, allocations: 305.6 kB / 0.6866 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.339, allocations: 467.7 kB / 0.687 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.3406, allocations: 2.032 MB / 0.689 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3406, allocations: 1.062 kB / 0.689 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3406, allocations: 0 / 0.689 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.3406, allocations: 0 / 0.689 GB, free: 44.87 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00139/0.342, allocations: 1.662 MB / 0.6906 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.342, allocations: 8.406 kB / 0.6906 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.3421, allocations: 134.2 kB / 0.6908 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.3425, allocations: 225.4 kB / 0.691 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.3436, allocations: 1.039 MB / 0.692 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.3436, allocations: 63.16 kB / 0.692 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.3437, allocations: 86.84 kB / 0.6921 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/0.3447, allocations: 1.135 MB / 0.6932 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3447, allocations: 7.219 kB / 0.6932 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/0.3447, allocations: 36.91 kB / 0.6933 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3447, allocations: 20.56 kB / 0.6933 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.3455, allocations: 0.6516 MB / 0.6939 GB, free: 43.12 MB / 0.6355 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.002203/0.3477, allocations: 3.922 MB / 0.6978 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.3483, allocations: 376.9 kB / 0.6981 GB, free: 40.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.3485, allocations: 204.5 kB / 0.6983 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.3487, allocations: 98.72 kB / 0.6984 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.3487, allocations: 39.59 kB / 0.6985 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=29): time 1.272e-06/0.3487, allocations: 0 / 0.6985 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29): time 0.001268/0.35, allocations: 0.857 MB / 0.6993 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.35, allocations: 57.03 kB / 0.6993 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.3507, allocations: 0.9889 MB / 0.7003 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3507, allocations: 32.95 kB / 0.7003 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.3509, allocations: 0.593 MB / 0.7009 GB, free: 40.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.3509, allocations: 111.7 kB / 0.701 GB, free: 40.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/0.351, allocations: 109.8 kB / 0.7011 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.655e-05/0.3511, allocations: 333.2 kB / 0.7014 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.3513, allocations: 199.5 kB / 0.7016 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.3516, allocations: 0.5485 MB / 0.7022 GB, free: 39.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.3522, allocations: 0.6027 MB / 0.7028 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3522, allocations: 2.844 kB / 0.7028 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008158/0.353, allocations: 0.7544 MB / 0.7035 GB, free: 38.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3531, allocations: 7.75 kB / 0.7035 GB, free: 38.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3531, allocations: 10.75 kB / 0.7035 GB, free: 38.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.3534, allocations: 149.7 kB / 0.7037 GB, free: 38.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.3537, allocations: 152.7 kB / 0.7038 GB, free: 38.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004572/0.3542, allocations: 1.721 MB / 0.7055 GB, free: 37.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.3544, allocations: 91.28 kB / 0.7056 GB, free: 37.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.3545, allocations: 29.34 kB / 0.7056 GB, free: 37.26 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002135/0.3547, allocations: 271.7 kB / 0.7059 GB, free: 37.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.3548, allocations: 121.8 kB / 0.706 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008568/0.3556, allocations: 0.7301 MB / 0.7067 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3556, allocations: 3.25 kB / 0.7067 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3556, allocations: 0 / 0.7067 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3556, allocations: 3.422 kB / 0.7067 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.357, allocations: 1.539 MB / 0.7082 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.357, allocations: 2.531 kB / 0.7082 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.3572, allocations: 88.75 kB / 0.7083 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.3575, allocations: 149.1 kB / 0.7084 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3575, allocations: 15.5 kB / 0.7084 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003766/0.3579, allocations: 1.712 MB / 0.7101 GB, free: 35.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3579, allocations: 4.188 kB / 0.7101 GB, free: 35.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.3586, allocations: 0.784 MB / 0.7109 GB, free: 34.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.3587, allocations: 180.9 kB / 0.7111 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.3588, allocations: 6.438 kB / 0.7111 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.3591, allocations: 45.98 kB / 0.7111 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.3591, allocations: 32.48 kB / 0.7111 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.3591, allocations: 24.78 kB / 0.7112 GB, free: 34.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004426/0.3596, allocations: 0.6643 MB / 0.7118 GB, free: 34.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3596, allocations: 0 / 0.7118 GB, free: 34.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000525/0.3601, allocations: 380.9 kB / 0.7122 GB, free: 34.49 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/0.3615, allocations: 1.622 MB / 0.7138 GB, free: 33.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009584/0.3625, allocations: 0.5301 MB / 0.7143 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3625, allocations: 1.062 kB / 0.7143 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.3629, allocations: 278.8 kB / 0.7145 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.364, allocations: 0.53 MB / 0.7151 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006519/0.3706, allocations: 7.321 MB / 0.7222 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.371, allocations: 0.5121 MB / 0.7227 GB, free: 30.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004492/0.3714, allocations: 183.9 kB / 0.7229 GB, free: 30.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.3717, allocations: 423.9 kB / 0.7233 GB, free: 30.11 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.3717, allocations: 0 / 0.7233 GB, free: 30.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04574/0.4174, allocations: 31.86 MB / 0.7544 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.726/9.143, allocations: 11.31 kB / 0.7544 GB, free: 22.98 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.015702988952398] Failed to read output from testmodel.py, exit status != 0: 9.24512574635446 9.25388904 8.911135333 Calling exit ...