Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 183.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5255/0.5255, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.724/1.724, allocations: 223.1 MB / 354.3 MB, free: 12.17 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.0009243/0.000924, allocations: 107.8 kB / 427.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 8 kB / 0.4983 GB, free: 42.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1803, allocations: 72.31 MB / 0.5689 GB, free: 1.789 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5038/0.6842, allocations: 102.6 MB / 0.6691 GB, free: 1.797 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.6845, allocations: 83.81 kB / 0.6692 GB, free: 1.719 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009265/0.6937, allocations: 3.394 MB / 0.6725 GB, free: 14.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6938, allocations: 3.938 kB / 0.6725 GB, free: 14.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.6938, allocations: 4 kB / 0.6725 GB, free: 14.33 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004817/0.6943, allocations: 407.5 kB / 0.6729 GB, free: 13.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6943, allocations: 12.03 kB / 0.6729 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.6944, allocations: 38.55 kB / 0.6729 GB, free: 13.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.6956, allocations: 139.7 kB / 0.6731 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.6957, allocations: 174.9 kB / 0.6732 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.6957, allocations: 4 kB / 0.6732 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.6958, allocations: 8 kB / 0.6732 GB, free: 13.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.6964, allocations: 185.4 kB / 0.6734 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.6964, allocations: 8 kB / 0.6734 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.6965, allocations: 0 / 0.6734 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6965, allocations: 0 / 0.6734 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000962/0.6974, allocations: 211.8 kB / 0.6736 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.6988, allocations: 496.2 kB / 0.6741 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.7, allocations: 214.3 kB / 0.6743 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.7, allocations: 0 / 0.6743 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.7001, allocations: 30.56 kB / 0.6743 GB, free: 12.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.7001, allocations: 0 / 0.6743 GB, free: 12.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.001212/0.7013, allocations: 261.7 kB / 0.6746 GB, free: 12.01 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.7013, allocations: 59.36 kB / 0.6746 GB, free: 11.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.7016, allocations: 179.7 kB / 0.6748 GB, free: 11.76 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.7016, allocations: 25.7 kB / 0.6748 GB, free: 11.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.7017, allocations: 107.9 kB / 0.6749 GB, free: 11.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.7017, allocations: 15.75 kB / 0.675 GB, free: 11.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.7017, allocations: 3.938 kB / 0.675 GB, free: 11.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7019, allocations: 322.8 kB / 0.6753 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.7023, allocations: 95.91 kB / 0.6754 GB, free: 11.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.7028, allocations: 111.1 kB / 0.6755 GB, free: 11.06 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.7033, allocations: 91.92 kB / 0.6756 GB, free: 10.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7033, allocations: 0 / 0.6756 GB, free: 10.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001008/0.7043, allocations: 241.4 kB / 0.6758 GB, free: 10.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.7044, allocations: 271 kB / 0.676 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7044, allocations: 0 / 0.676 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7044, allocations: 4 kB / 0.6761 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.7048, allocations: 47.94 kB / 0.6761 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.7048, allocations: 4 kB / 0.6761 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.7053, allocations: 51.83 kB / 0.6762 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.7053, allocations: 7.984 kB / 0.6762 GB, free: 10.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.7053, allocations: 5.719 kB / 0.6762 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003617/0.7057, allocations: 99.86 kB / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.7057, allocations: 4 kB / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-06/0.7057, allocations: 0 / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.7059, allocations: 23.97 kB / 0.6763 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.7059, allocations: 8.062 kB / 0.6763 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.7061, allocations: 27.78 kB / 0.6763 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.7061, allocations: 4 kB / 0.6763 GB, free: 10.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.7062, allocations: 189.1 kB / 0.6765 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.7063, allocations: 11.91 kB / 0.6765 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.7063, allocations: 12.25 kB / 0.6765 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.7063, allocations: 4 kB / 0.6765 GB, free: 9.941 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7063, allocations: 0 / 0.6765 GB, free: 9.941 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7063, allocations: 3.953 kB / 0.6765 GB, free: 9.938 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.7066, allocations: 213.6 kB / 0.6767 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7066, allocations: 0 / 0.6767 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.7069, allocations: 43.89 kB / 0.6768 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.7069, allocations: 3.984 kB / 0.6768 GB, free: 9.633 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.7069, allocations: 4 kB / 0.6768 GB, free: 9.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7069, allocations: 0 / 0.6768 GB, free: 9.629 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7069, allocations: 0 / 0.6768 GB, free: 9.629 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/0.7077, allocations: 279.2 kB / 0.6771 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.7078, allocations: 100.9 kB / 0.6772 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.7079, allocations: 8 kB / 0.6772 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.7082, allocations: 31.97 kB / 0.6772 GB, free: 9.184 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.7082, allocations: 3.984 kB / 0.6772 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.7083, allocations: 0 / 0.6772 GB, free: 9.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001938/0.7085, allocations: 155.3 kB / 0.6773 GB, free: 9.027 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7085, allocations: 0 / 0.6773 GB, free: 9.027 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.7088, allocations: 36 kB / 0.6774 GB, free: 8.992 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.7099, allocations: 0.8259 MB / 0.6782 GB, free: 8.137 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.7109, allocations: 227.7 kB / 0.6784 GB, free: 7.914 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.711, allocations: 4 kB / 0.6784 GB, free: 7.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.7114, allocations: 80.11 kB / 0.6785 GB, free: 7.832 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.7117, allocations: 15.98 kB / 0.6785 GB, free: 7.816 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.7162, allocations: 1.242 MB / 0.6797 GB, free: 6.512 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.7166, allocations: 0.7004 MB / 0.6804 GB, free: 5.785 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003322/0.7169, allocations: 20 kB / 0.6804 GB, free: 5.766 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.7171, allocations: 43.33 kB / 0.6805 GB, free: 5.723 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7171, allocations: 4 kB / 0.6805 GB, free: 5.719 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.7363, allocations: 2.638 MB / 0.683 GB, free: 3.223 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/0.7366, allocations: 184.2 kB / 0.6832 GB, free: 2.984 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.534, allocations: 0 / 0.6832 GB, free: 2.984 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)