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: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8617/0.8617, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 184.8 kB / 182.2 MB, free: 9.426 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.488/1.488, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.00105/0.00105, allocations: 90.38 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 280.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.556e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.4989, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9286/1.428, allocations: 395.9 MB / 1.144 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.428, allocations: 87.52 kB / 1.144 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.79/4.218, allocations: 0.7744 GB / 1.919 GB, free: 57.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.664e-06/4.218, allocations: 0 / 1.919 GB, free: 57.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001876/4.218, allocations: 57.39 kB / 1.919 GB, free: 57.49 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.003838/4.222, allocations: 1.979 MB / 1.921 GB, free: 55.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/4.222, allocations: 12.03 kB / 1.921 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/4.225, allocations: 0.5472 MB / 1.921 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0272/4.252, allocations: 14.27 MB / 1.935 GB, free: 40.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/4.252, allocations: 32 kB / 1.935 GB, free: 40.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/4.253, allocations: 72 kB / 1.935 GB, free: 40.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/4.254, allocations: 0.867 MB / 1.936 GB, free: 39.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/4.256, allocations: 1.063 MB / 1.937 GB, free: 38.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/4.256, allocations: 11.88 kB / 1.937 GB, free: 38.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/4.256, allocations: 0 / 1.937 GB, free: 38.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/4.256, allocations: 28.34 kB / 1.937 GB, free: 38.62 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.006642/4.262, allocations: 5.596 MB / 1.942 GB, free: 32.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/4.264, allocations: 0.8079 MB / 1.943 GB, free: 31.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/4.264, allocations: 346.4 kB / 1.944 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003201/4.267, allocations: 2.727 MB / 1.946 GB, free: 28.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/4.267, allocations: 39.12 kB / 1.946 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004297/4.268, allocations: 63.34 kB / 1.946 GB, free: 28.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.625e-06/4.268, allocations: 3.938 kB / 1.946 GB, free: 28.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002371/4.27, allocations: 0.9757 MB / 1.947 GB, free: 27.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/4.27, allocations: 63.91 kB / 1.947 GB, free: 27.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/4.272, allocations: 1.199 MB / 1.949 GB, free: 26.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/4.272, allocations: 25.7 kB / 1.949 GB, free: 26.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/4.272, allocations: 0.8457 MB / 1.949 GB, free: 25.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/4.272, allocations: 201 kB / 1.95 GB, free: 25.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/4.272, allocations: 0 / 1.95 GB, free: 25.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/4.272, allocations: 341.9 kB / 1.95 GB, free: 24.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/4.273, allocations: 306.5 kB / 1.95 GB, free: 24.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/4.273, allocations: 0.729 MB / 1.951 GB, free: 23.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/4.275, allocations: 0.5157 MB / 1.951 GB, free: 23.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/4.275, allocations: 4 kB / 1.951 GB, free: 23.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00313/4.278, allocations: 1.336 MB / 1.953 GB, free: 21.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006469/4.279, allocations: 4.33 MB / 1.957 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/4.279, allocations: 8 kB / 1.957 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/4.279, allocations: 210 kB / 1.957 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/4.28, allocations: 207.7 kB / 1.957 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/4.281, allocations: 1.872 MB / 1.959 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/4.282, allocations: 83.95 kB / 1.959 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/4.282, allocations: 79.95 kB / 1.959 GB, free: 14.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.393e-06/4.282, allocations: 4 kB / 1.959 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002831/4.285, allocations: 1.074 MB / 1.96 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/4.285, allocations: 8 kB / 1.96 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/4.286, allocations: 208.4 kB / 1.961 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/4.286, allocations: 203.6 kB / 1.961 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/4.29, allocations: 3.748 MB / 1.964 GB, free: 8.945 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009994/4.291, allocations: 75.84 kB / 1.965 GB, free: 8.871 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/4.292, allocations: 75.95 kB / 1.965 GB, free: 8.797 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0002487/4.292, allocations: 136.7 kB / 1.965 GB, free: 8.656 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002182/4.294, allocations: 0.8852 MB / 1.966 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/4.294, allocations: 169.9 kB / 1.966 GB, free: 7.594 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/4.297, allocations: 1.191 MB / 1.967 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/4.297, allocations: 8 kB / 1.967 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/4.297, allocations: 0 / 1.967 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/4.297, allocations: 3.984 kB / 1.967 GB, free: 6.383 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.004232/4.301, allocations: 2.272 MB / 1.969 GB, free: 4.051 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/4.301, allocations: 0 / 1.969 GB, free: 4.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/4.302, allocations: 112 kB / 1.969 GB, free: 3.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/4.302, allocations: 154.2 kB / 1.969 GB, free: 3.785 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.838e-05/4.302, allocations: 22.41 kB / 1.969 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008665/4.303, allocations: 1.785 MB / 1.971 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/4.303, allocations: 0 / 1.971 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/4.305, allocations: 1.243 MB / 1.972 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005066/4.306, allocations: 326.7 kB / 1.973 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/4.306, allocations: 4 kB / 1.973 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007807/4.307, allocations: 71.86 kB / 1.973 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/4.307, allocations: 52.45 kB / 1.973 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/4.307, allocations: 35.97 kB / 1.973 GB, free: 96 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001281/4.308, allocations: 0.9039 MB / 1.974 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/4.308, allocations: 0 / 1.974 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003178/4.311, allocations: 1.021 MB / 1.975 GB, free: 14.18 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.005266/4.317, allocations: 3.363 MB / 1.978 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00284/4.319, allocations: 1.516 MB / 1.98 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/4.32, allocations: 4 kB / 1.98 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/4.32, allocations: 399.4 kB / 1.98 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/4.323, allocations: 0.6826 MB / 1.981 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/4.329, allocations: 2.527 MB / 1.983 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/4.33, allocations: 1.419 MB / 1.984 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002502/4.332, allocations: 0.5714 MB / 1.985 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008976/4.333, allocations: 0.6594 MB / 1.986 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/4.333, allocations: 0 / 1.986 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5203/4.854, allocations: 54.6 MB / 2.039 GB, free: 89.31 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/4.854, allocations: 201.7 kB / 2.039 GB, free: 89.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/8.729, allocations: 0 / 2.039 GB, free: 89.11 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)