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.000834/0.000834, 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.0007803/0.0007803, 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.8757/0.8757, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7312/0.7312, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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.663e-06/1.663e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.989e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03021/0.03023, allocations: 45.5 MB / 0.6625 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.04523, allocations: 11.92 MB / 0.6742 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.04811, allocations: 107.1 kB / 0.6743 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.05008, allocations: 0.7679 MB / 0.675 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.0542, allocations: 1.993 MB / 0.677 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.2981/0.3523, allocations: 1.478 MB / 0.6784 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004359/0.3567, allocations: 3.344 MB / 0.6817 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.3582, allocations: 0.9724 MB / 0.6826 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00399/0.3622, allocations: 1.928 MB / 0.6845 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.3636, allocations: 0.8045 MB / 0.6853 GB, free: 45.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.3638, allocations: 95.72 kB / 0.6854 GB, free: 45.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.3656, allocations: 0.9007 MB / 0.6863 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.3659, allocations: 316.4 kB / 0.6866 GB, free: 44.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005359/0.3664, allocations: 458.5 kB / 0.687 GB, free: 44.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.3696, allocations: 2.028 MB / 0.689 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3696, allocations: 0 / 0.689 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3696, allocations: 0 / 0.689 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.3696, allocations: 0 / 0.689 GB, free: 44.8 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.002116/0.3717, allocations: 1.662 MB / 0.6906 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.3718, allocations: 8.594 kB / 0.6906 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.3719, allocations: 135.2 kB / 0.6908 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005385/0.3724, allocations: 223.9 kB / 0.691 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.3739, allocations: 1.04 MB / 0.692 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.374, allocations: 64.28 kB / 0.692 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.374, allocations: 84.03 kB / 0.6921 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.3752, allocations: 1.127 MB / 0.6932 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3752, allocations: 18 kB / 0.6932 GB, free: 43.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.3753, allocations: 35.09 kB / 0.6933 GB, free: 43.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3753, allocations: 23.09 kB / 0.6933 GB, free: 43.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008273/0.3761, allocations: 0.6442 MB / 0.6939 GB, free: 43.05 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.003177/0.3793, allocations: 3.925 MB / 0.6978 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.38, allocations: 377.5 kB / 0.6981 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.3802, allocations: 205.9 kB / 0.6983 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.3805, allocations: 97.2 kB / 0.6984 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3805, allocations: 44.31 kB / 0.6985 GB, free: 40.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.3805, allocations: 0 / 0.6985 GB, free: 40.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29): time 0.001606/0.3822, allocations: 0.848 MB / 0.6993 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.3822, allocations: 54.25 kB / 0.6993 GB, free: 40.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/0.383, allocations: 0.9989 MB / 0.7003 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.383, allocations: 31.77 kB / 0.7003 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.3833, allocations: 0.5977 MB / 0.7009 GB, free: 40 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.619e-05/0.3834, allocations: 116.9 kB / 0.701 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3835, allocations: 109 kB / 0.7011 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.3835, allocations: 332.7 kB / 0.7015 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.3838, allocations: 191.6 kB / 0.7016 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.3842, allocations: 0.5468 MB / 0.7022 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.3848, allocations: 0.6 MB / 0.7028 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3848, allocations: 0 / 0.7028 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001038/0.3859, allocations: 0.7641 MB / 0.7035 GB, free: 38.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3859, allocations: 11.3 kB / 0.7035 GB, free: 38.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3859, allocations: 7.875 kB / 0.7035 GB, free: 38.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/0.3863, allocations: 152.7 kB / 0.7037 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.3866, allocations: 143.5 kB / 0.7038 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005947/0.3872, allocations: 1.724 MB / 0.7055 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.3878, allocations: 89.83 kB / 0.7056 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.3879, allocations: 32.67 kB / 0.7056 GB, free: 37.18 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.0004345/0.3883, allocations: 263.5 kB / 0.7059 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3884, allocations: 113.3 kB / 0.706 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009726/0.3894, allocations: 0.7406 MB / 0.7067 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3894, allocations: 5.219 kB / 0.7067 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3894, allocations: 0 / 0.7067 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3894, allocations: 6.656 kB / 0.7067 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.3911, allocations: 1.54 MB / 0.7082 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3911, allocations: 2.062 kB / 0.7082 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.3914, allocations: 88.75 kB / 0.7083 GB, free: 36.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002635/0.3916, allocations: 147.2 kB / 0.7084 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.3917, allocations: 9.625 kB / 0.7084 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000424/0.3921, allocations: 1.71 MB / 0.7101 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3921, allocations: 9.281 kB / 0.7101 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/0.3929, allocations: 0.7794 MB / 0.7109 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.3932, allocations: 177.8 kB / 0.711 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.3933, allocations: 10.62 kB / 0.7111 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.3936, allocations: 49.88 kB / 0.7111 GB, free: 34.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.3936, allocations: 31.17 kB / 0.7111 GB, free: 34.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.3937, allocations: 26.14 kB / 0.7112 GB, free: 34.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005528/0.3942, allocations: 0.6624 MB / 0.7118 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3942, allocations: 0 / 0.7118 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008162/0.395, allocations: 381.9 kB / 0.7122 GB, free: 34.41 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.00165/0.3967, allocations: 1.622 MB / 0.7138 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.3979, allocations: 0.5285 MB / 0.7143 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.3979, allocations: 1 kB / 0.7143 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.3984, allocations: 281.7 kB / 0.7145 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.4, allocations: 0.5358 MB / 0.7151 GB, free: 33.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008955/0.409, allocations: 7.323 MB / 0.7222 GB, free: 30.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.4095, allocations: 0.5102 MB / 0.7227 GB, free: 30.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008573/0.4103, allocations: 181.6 kB / 0.7229 GB, free: 30.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.4107, allocations: 420.2 kB / 0.7233 GB, free: 30.09 MB / 0.6355 GB Notification: Performance of SimCode: time 2.585e-06/0.4107, allocations: 4 kB / 0.7233 GB, free: 30.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05693/0.4676, allocations: 31.85 MB / 0.7544 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.626/9.094, allocations: 7.203 kB / 0.7544 GB, free: 23.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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: 11.816394655965269] Failed to read output from testmodel.py, exit status != 0: 9.19659947231412 9.202886297 8.831625236 Calling exit ...