Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.001262/0.001262, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001187/0.001187, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7717/0.7717, allocations: 125.4 MB / 416.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 68.64 kB / 0.5717 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1311, allocations: 78.56 MB / 0.6484 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5216/0.6527, allocations: 221.2 MB / 0.8644 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009221/0.6619, allocations: 5.743 MB / 0.87 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000985/0.663, allocations: 35.81 kB / 0.87 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.6644, allocations: 0.5786 MB / 0.8706 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.6684, allocations: 1.847 MB / 0.8724 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.6712, allocations: 1.195 MB / 0.8736 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003289/0.6745, allocations: 2.96 MB / 0.8764 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.6757, allocations: 1.022 MB / 0.8774 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.6776, allocations: 1.251 MB / 0.8787 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.6795, allocations: 0.9189 MB / 0.8796 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.6797, allocations: 108 kB / 0.8797 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.6821, allocations: 1.419 MB / 0.8811 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004758/0.6826, allocations: 466.8 kB / 0.8815 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006921/0.6833, allocations: 0.6572 MB / 0.8821 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.686, allocations: 2.141 MB / 0.8842 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.686, allocations: 4 kB / 0.8842 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.173e-06/0.686, allocations: 0 / 0.8842 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.686, allocations: 0 / 0.8842 GB, free: 4.547 MB / 0.6387 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.00239/0.6884, allocations: 1.552 MB / 0.8857 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.6885, allocations: 12.03 kB / 0.8858 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.6887, allocations: 139.3 kB / 0.8859 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.6906, allocations: 330.9 kB / 0.8862 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.6919, allocations: 0.8599 MB / 0.887 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/0.692, allocations: 62 kB / 0.8871 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.6921, allocations: 88.88 kB / 0.8872 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.6937, allocations: 0.9091 MB / 0.8881 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.6937, allocations: 0 / 0.8881 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.243e-05/0.6938, allocations: 43.92 kB / 0.8881 GB, free: 460 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.6939, allocations: 38 kB / 0.8882 GB, free: 424 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.6953, allocations: 0.8315 MB / 0.889 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.7005, allocations: 3.669 MB / 0.8926 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.7013, allocations: 492.4 kB / 0.893 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.7018, allocations: 309.9 kB / 0.8933 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.702, allocations: 97.53 kB / 0.8934 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.7021, allocations: 46.94 kB / 0.8935 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/0.7021, allocations: 0 / 0.8935 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.003508/0.7056, allocations: 1.889 MB / 0.8953 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.7056, allocations: 59.84 kB / 0.8954 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009749/0.7066, allocations: 0.8097 MB / 0.8961 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.7067, allocations: 37.7 kB / 0.8962 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.7071, allocations: 488.2 kB / 0.8967 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.7072, allocations: 178.4 kB / 0.8968 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.7074, allocations: 122.2 kB / 0.8969 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7076, allocations: 330 kB / 0.8973 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.708, allocations: 245.2 kB / 0.8975 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.7086, allocations: 384.6 kB / 0.8979 GB, free: 5.996 MB / 0.6544 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.003722/0.7123, allocations: 1.539 MB / 0.8994 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7123, allocations: 4 kB / 0.8994 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001316/0.7137, allocations: 0.7931 MB / 0.9001 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7137, allocations: 10.19 kB / 0.9001 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.7137, allocations: 4 kB / 0.9001 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.7139, allocations: 65.67 kB / 0.9002 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.7145, allocations: 151.8 kB / 0.9004 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.7172, allocations: 3.114 MB / 0.9034 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.7179, allocations: 32.66 kB / 0.9034 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.718, allocations: 24 kB / 0.9035 GB, free: 15.9 MB / 0.67 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.0004107/0.7184, allocations: 309.6 kB / 0.9037 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.7185, allocations: 99.39 kB / 0.9038 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.7187, allocations: 104.7 kB / 0.9039 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.7187, allocations: 8 kB / 0.9039 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7187, allocations: 4 kB / 0.904 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.7198, allocations: 0.8348 MB / 0.9048 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.7226, allocations: 1.791 MB / 0.9065 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.7226, allocations: 0 / 0.9065 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.7232, allocations: 140.2 kB / 0.9066 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.434e-05/0.7233, allocations: 36.84 kB / 0.9067 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.7234, allocations: 16 kB / 0.9067 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.7247, allocations: 1.594 MB / 0.9083 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.7247, allocations: 7.938 kB / 0.9083 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.7263, allocations: 1.078 MB / 0.9093 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.7266, allocations: 232.5 kB / 0.9095 GB, free: 9.258 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.7268, allocations: 19.92 kB / 0.9096 GB, free: 9.238 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.7274, allocations: 34.56 kB / 0.9096 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/0.7275, allocations: 43.95 kB / 0.9096 GB, free: 9.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.7276, allocations: 31.92 kB / 0.9097 GB, free: 9.133 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007032/0.7283, allocations: 0.5615 MB / 0.9102 GB, free: 8.574 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7283, allocations: 0 / 0.9102 GB, free: 8.574 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007664/0.7291, allocations: 279.9 kB / 0.9105 GB, free: 8.301 MB / 0.67 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.00218/0.7313, allocations: 1.702 MB / 0.9121 GB, free: 6.535 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.7326, allocations: 0.8117 MB / 0.9129 GB, free: 5.695 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7326, allocations: 0 / 0.9129 GB, free: 5.695 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.7332, allocations: 407.5 kB / 0.9133 GB, free: 5.285 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.7358, allocations: 0.6127 MB / 0.9139 GB, free: 4.691 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009466/0.7452, allocations: 7.027 MB / 0.9208 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.746, allocations: 1.095 MB / 0.9219 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007155/0.7467, allocations: 215.7 kB / 0.9221 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/0.7472, allocations: 343.3 kB / 0.9224 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of SimCode: time 6.81e-07/0.7472, allocations: 0 / 0.9224 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5629/1.31, allocations: 27.44 MB / 0.9492 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.62, allocations: 5.812 kB / 0.9492 GB, free: 0.668 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)