Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.000923, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005871/0.005871, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001666/0.001666, allocations: 274.4 kB / 291.7 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9156/0.9156, allocations: 169.5 MB / 0.5004 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 12.59 kB / 0.5988 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1275, allocations: 88.54 MB / 0.6852 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4335/0.561, allocations: 215.9 MB / 0.8961 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007607/0.5687, allocations: 5.737 MB / 0.9017 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005045/0.5692, allocations: 35.75 kB / 0.9017 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.5703, allocations: 0.4935 MB / 0.9022 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.5734, allocations: 1.739 MB / 0.9039 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.5755, allocations: 1.086 MB / 0.905 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003309/0.5788, allocations: 4.095 MB / 0.909 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009212/0.5797, allocations: 0.8431 MB / 0.9098 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.5808, allocations: 0.8828 MB / 0.9107 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.5825, allocations: 0.9275 MB / 0.9116 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.737e-05/0.5827, allocations: 40 kB / 0.9116 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.5848, allocations: 1.632 MB / 0.9132 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.5851, allocations: 390.8 kB / 0.9136 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005002/0.5856, allocations: 0.5926 MB / 0.9142 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.5875, allocations: 2.122 MB / 0.9162 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5875, allocations: 7.938 kB / 0.9162 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5875, allocations: 0 / 0.9162 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.5876, allocations: 0 / 0.9162 GB, free: 3.105 MB / 0.6231 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.001771/0.5893, allocations: 1.278 MB / 0.9175 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.5894, allocations: 8.031 kB / 0.9175 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.5895, allocations: 143.2 kB / 0.9176 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.5914, allocations: 318.3 kB / 0.9179 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.5924, allocations: 0.8201 MB / 0.9187 GB, free: 452 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.5925, allocations: 62 kB / 0.9188 GB, free: 392 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5926, allocations: 88 kB / 0.9189 GB, free: 304 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.5941, allocations: 0.9266 MB / 0.9198 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.5941, allocations: 0 / 0.9198 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.5942, allocations: 36 kB / 0.9198 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.5943, allocations: 41.92 kB / 0.9199 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.5957, allocations: 0.8432 MB / 0.9207 GB, free: 14.45 MB / 0.6387 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.004754/0.6004, allocations: 3.541 MB / 0.9241 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/0.6012, allocations: 497.8 kB / 0.9246 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.6016, allocations: 303.3 kB / 0.9249 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.6018, allocations: 109.4 kB / 0.925 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.6019, allocations: 46.94 kB / 0.9251 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.533e-06/0.6019, allocations: 0 / 0.9251 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003251/0.6051, allocations: 1.899 MB / 0.9269 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.6052, allocations: 55.84 kB / 0.927 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008982/0.6061, allocations: 0.8214 MB / 0.9278 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.6061, allocations: 37.7 kB / 0.9278 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.6064, allocations: 471.3 kB / 0.9282 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.6066, allocations: 177.5 kB / 0.9284 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.6067, allocations: 53.69 kB / 0.9285 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6068, allocations: 326 kB / 0.9288 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.6072, allocations: 253.2 kB / 0.929 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.6078, allocations: 391 kB / 0.9294 GB, free: 5.07 MB / 0.6387 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.003573/0.6113, allocations: 1.576 MB / 0.9309 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6113, allocations: 4 kB / 0.9309 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001229/0.6126, allocations: 0.8082 MB / 0.9317 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6126, allocations: 8 kB / 0.9317 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6126, allocations: 4 kB / 0.9317 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.6128, allocations: 61.69 kB / 0.9318 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.6134, allocations: 163.8 kB / 0.932 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.6156, allocations: 2.896 MB / 0.9348 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.6164, allocations: 70.17 kB / 0.9348 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.6164, allocations: 23.98 kB / 0.9349 GB, free: 15.12 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0003613/0.6168, allocations: 298.3 kB / 0.9352 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.6169, allocations: 94.95 kB / 0.9352 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.6171, allocations: 96.73 kB / 0.9353 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6171, allocations: 11.92 kB / 0.9353 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6171, allocations: 0 / 0.9353 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009873/0.6181, allocations: 0.8505 MB / 0.9362 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.6207, allocations: 1.799 MB / 0.9379 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.6207, allocations: 4 kB / 0.9379 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.6213, allocations: 144.2 kB / 0.9381 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.401e-05/0.6214, allocations: 44.77 kB / 0.9381 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.6215, allocations: 12 kB / 0.9381 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.6226, allocations: 1.491 MB / 0.9396 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.6226, allocations: 7.938 kB / 0.9396 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.624, allocations: 1.076 MB / 0.9406 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.6243, allocations: 240 kB / 0.9409 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.6244, allocations: 12 kB / 0.9409 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.6252, allocations: 69.3 kB / 0.941 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.6253, allocations: 51.81 kB / 0.941 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.6253, allocations: 27.98 kB / 0.941 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006322/0.626, allocations: 0.5576 MB / 0.9416 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.626, allocations: 4 kB / 0.9416 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007214/0.6267, allocations: 276 kB / 0.9418 GB, free: 7.574 MB / 0.6544 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.001981/0.6287, allocations: 1.712 MB / 0.9435 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.6298, allocations: 0.812 MB / 0.9443 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.6299, allocations: 4 kB / 0.9443 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.6304, allocations: 407.7 kB / 0.9447 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.6333, allocations: 0.5763 MB / 0.9453 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009488/0.6428, allocations: 7.747 MB / 0.9528 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.6434, allocations: 1.091 MB / 0.9539 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007157/0.6441, allocations: 219.7 kB / 0.9541 GB, free: 10.55 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.6446, allocations: 339.3 kB / 0.9544 GB, free: 10.22 MB / 0.67 GB Notification: Performance of SimCode: time 2.6e-07/0.6446, allocations: 0 / 0.9544 GB, free: 10.22 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.26/1.904, allocations: 25.92 MB / 0.9797 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/1.905, allocations: 327.7 kB / 0.98 GB, free: 436 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/4.179, allocations: 3.938 kB / 0.9801 GB, free: 432 kB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)