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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 191.8 kB / 7.805 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4725/0.4725, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.4 MB / 342.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 83.12 kB / 415.5 MB, free: 6.297 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1691/0.1702, allocations: 78.45 MB / 494 MB, free: 7.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.5346, allocations: 72.31 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.389/3.924, allocations: 1.872 GB / 2.425 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/3.924, allocations: 85.06 kB / 2.425 GB, free: 153.1 MB / 0.6042 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 1.364/5.289, allocations: 469.7 MB / 2.884 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/5.289, allocations: 13.89 kB / 2.884 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/5.291, allocations: 326.2 kB / 2.884 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/5.292, allocations: 0.8589 MB / 2.885 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/5.292, allocations: 31.31 kB / 2.885 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/5.292, allocations: 54.66 kB / 2.885 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/5.294, allocations: 0.7366 MB / 2.886 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/5.295, allocations: 0.8407 MB / 2.887 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/5.295, allocations: 0 / 2.887 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/5.295, allocations: 3.875 kB / 2.887 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/5.295, allocations: 33.78 kB / 2.887 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/5.3, allocations: 3.416 MB / 2.89 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/5.3, allocations: 292.8 kB / 2.89 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/5.301, allocations: 269.5 kB / 2.891 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/5.301, allocations: 97.14 kB / 2.891 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/5.301, allocations: 41.75 kB / 2.891 GB, free: 116 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.435e-06/5.301, allocations: 0 / 2.891 GB, free: 116 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.002708/5.303, allocations: 1.343 MB / 2.892 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/5.303, allocations: 59.09 kB / 2.892 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/5.304, allocations: 0.5241 MB / 2.893 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/5.304, allocations: 32.73 kB / 2.893 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/5.304, allocations: 384.2 kB / 2.893 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/5.304, allocations: 171 kB / 2.893 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/5.304, allocations: 0 / 2.893 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.588e-05/5.305, allocations: 378.7 kB / 2.893 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/5.305, allocations: 219.9 kB / 2.894 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/5.305, allocations: 353.8 kB / 2.894 GB, free: 114.6 MB / 0.6042 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.002616/5.308, allocations: 0.9333 MB / 2.895 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/5.308, allocations: 2.25 kB / 2.895 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000964/5.309, allocations: 0.6889 MB / 2.896 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/5.309, allocations: 3.719 kB / 2.896 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/5.309, allocations: 3.938 kB / 2.896 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/5.309, allocations: 70.94 kB / 2.896 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/5.31, allocations: 131.8 kB / 2.896 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/5.311, allocations: 2.626 MB / 2.898 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009527/5.312, allocations: 62.67 kB / 2.898 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/5.312, allocations: 20.72 kB / 2.898 GB, free: 112 MB / 0.6042 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001485/5.312, allocations: 125.5 kB / 2.899 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/5.313, allocations: 80.81 kB / 2.899 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/5.313, allocations: 81.53 kB / 2.899 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/5.313, allocations: 3.812 kB / 2.899 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/5.313, allocations: 0 / 2.899 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006757/5.313, allocations: 0.7664 MB / 2.899 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/5.316, allocations: 1.574 MB / 2.901 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/5.316, allocations: 3.406 kB / 2.901 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/5.316, allocations: 113.2 kB / 2.901 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.509e-05/5.316, allocations: 35.77 kB / 2.901 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/5.316, allocations: 12.78 kB / 2.901 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007846/5.317, allocations: 1.353 MB / 2.902 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/5.317, allocations: 3.875 kB / 2.902 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00118/5.318, allocations: 1.1 MB / 2.904 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001709/5.32, allocations: 1.807 MB / 2.905 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/5.32, allocations: 223.1 kB / 2.906 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/5.321, allocations: 5.438 kB / 2.906 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/5.321, allocations: 48.11 kB / 2.906 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/5.321, allocations: 37.73 kB / 2.906 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-05/5.322, allocations: 32.09 kB / 2.906 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006628/5.322, allocations: 413 kB / 2.906 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002353/5.325, allocations: 0.4953 MB / 2.907 GB, free: 108.1 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/5.326, allocations: 1.428 MB / 2.908 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001019/5.327, allocations: 0.7013 MB / 2.909 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/5.327, allocations: 2.75 kB / 2.909 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/5.327, allocations: 355 kB / 2.909 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/5.33, allocations: 431 kB / 2.909 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/5.332, allocations: 1.35 MB / 2.911 GB, free: 107 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/5.333, allocations: 1.184 MB / 2.912 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.573e-06/5.333, allocations: 0 / 2.912 GB, free: 106.3 MB / 0.6042 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/linux/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)