Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7847/0.7847, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 182 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 91.64 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001792, allocations: 270.3 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.012e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.5378, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9325/1.47, allocations: 396.5 MB / 1.152 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/1.471, allocations: 91.33 kB / 1.152 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.064/4.535, allocations: 0.7789 GB / 1.931 GB, free: 52.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/4.535, allocations: 0 / 1.931 GB, free: 52.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002036/4.535, allocations: 52.14 kB / 1.931 GB, free: 52.48 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.003987/4.539, allocations: 1.985 MB / 1.933 GB, free: 50.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/4.539, allocations: 8.031 kB / 1.933 GB, free: 50.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/4.542, allocations: 0.5583 MB / 1.933 GB, free: 49.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02818/4.57, allocations: 14.3 MB / 1.947 GB, free: 35.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/4.57, allocations: 86.06 kB / 1.947 GB, free: 35.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/4.57, allocations: 116 kB / 1.947 GB, free: 35.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/4.572, allocations: 1.214 MB / 1.948 GB, free: 34.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/4.572, allocations: 0 / 1.948 GB, free: 34.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/4.573, allocations: 44 kB / 1.948 GB, free: 34.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/4.573, allocations: 28.52 kB / 1.948 GB, free: 34.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/4.574, allocations: 0.8555 MB / 1.949 GB, free: 33.36 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008179/4.582, allocations: 5.787 MB / 1.955 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/4.584, allocations: 0.7353 MB / 1.956 GB, free: 26.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/4.584, allocations: 322.3 kB / 1.956 GB, free: 26.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003657/4.588, allocations: 2.764 MB / 1.959 GB, free: 23.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/4.588, allocations: 43.06 kB / 1.959 GB, free: 23.04 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006312/4.589, allocations: 79.31 kB / 1.959 GB, free: 22.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.805e-06/4.589, allocations: 0 / 1.959 GB, free: 22.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.001398/4.59, allocations: 0.8001 MB / 1.96 GB, free: 22.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/4.59, allocations: 59.97 kB / 1.96 GB, free: 22.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/4.592, allocations: 1.298 MB / 1.961 GB, free: 20.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/4.592, allocations: 41.7 kB / 1.961 GB, free: 20.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/4.592, allocations: 0.8497 MB / 1.962 GB, free: 19.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/4.592, allocations: 209 kB / 1.962 GB, free: 19.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/4.592, allocations: 16 kB / 1.962 GB, free: 19.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/4.593, allocations: 341.9 kB / 1.962 GB, free: 19.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/4.593, allocations: 273.9 kB / 1.963 GB, free: 19.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/4.594, allocations: 0.7272 MB / 1.963 GB, free: 18.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/4.594, allocations: 377.4 kB / 1.964 GB, free: 17.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/4.594, allocations: 4 kB / 1.964 GB, free: 17.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002167/4.596, allocations: 1.229 MB / 1.965 GB, free: 16.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007453/4.597, allocations: 4.339 MB / 1.969 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/4.597, allocations: 8 kB / 1.969 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/4.598, allocations: 202 kB / 1.969 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/4.598, allocations: 218.5 kB / 1.97 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009124/4.599, allocations: 1.806 MB / 1.971 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/4.601, allocations: 99.83 kB / 1.971 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/4.601, allocations: 75.95 kB / 1.971 GB, free: 9.312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/4.601, allocations: 4 kB / 1.971 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002105/4.603, allocations: 1.086 MB / 1.973 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/4.603, allocations: 15.95 kB / 1.973 GB, free: 8.195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/4.604, allocations: 229.9 kB / 1.973 GB, free: 7.965 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/4.604, allocations: 203.6 kB / 1.973 GB, free: 7.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/4.608, allocations: 3.795 MB / 1.977 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/4.61, allocations: 91.95 kB / 1.977 GB, free: 3.621 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/4.61, allocations: 75.22 kB / 1.977 GB, free: 3.551 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003249/4.61, allocations: 168.6 kB / 1.977 GB, free: 3.379 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/4.61, allocations: 161.9 kB / 1.977 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/4.613, allocations: 1.213 MB / 1.978 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/4.613, allocations: 8 kB / 1.978 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/4.613, allocations: 3.938 kB / 1.978 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/4.613, allocations: 3.984 kB / 1.978 GB, free: 1.973 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.004402/4.617, allocations: 2.415 MB / 1.981 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/4.617, allocations: 4 kB / 1.981 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/4.618, allocations: 120 kB / 1.981 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/4.618, allocations: 186.2 kB / 1.981 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/4.618, allocations: 23.73 kB / 1.981 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/4.62, allocations: 1.774 MB / 1.983 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/4.62, allocations: 0 / 1.983 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/4.622, allocations: 1.243 MB / 1.984 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/4.623, allocations: 330.7 kB / 1.984 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/4.623, allocations: 16 kB / 1.984 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/4.624, allocations: 83.83 kB / 1.984 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/4.624, allocations: 56.38 kB / 1.984 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/4.624, allocations: 39.98 kB / 1.984 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00167/4.626, allocations: 0.9942 MB / 1.985 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/4.626, allocations: 0 / 1.985 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003889/4.63, allocations: 1.076 MB / 1.986 GB, free: 9.391 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003315/4.633, allocations: 1.416 MB / 1.988 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003694/4.637, allocations: 1.568 MB / 1.989 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/4.637, allocations: 0 / 1.989 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008904/4.638, allocations: 424.1 kB / 1.99 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/4.641, allocations: 0.7049 MB / 1.99 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/4.646, allocations: 2.095 MB / 1.993 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/4.647, allocations: 1.435 MB / 1.994 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002595/4.649, allocations: 0.5775 MB / 1.994 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/4.65, allocations: 107.4 kB / 1.995 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of SimCode: time 2.765e-06/4.65, allocations: 0 / 1.995 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of Templates: time 0.5689/5.219, allocations: 46.9 MB / 2.04 GB, free: 86.24 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)