Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.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.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",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.001288/0.001288, allocations: 104.6 kB / 16.27 MB, free: 6.051 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.001413/0.001413, allocations: 188.3 kB / 17.19 MB, free: 5.68 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7719/0.7719, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3386, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.637/0.9757, allocations: 325 MB / 0.8847 GB, free: 312 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03315/1.009, allocations: 22.3 MB / 0.9065 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003919/1.013, allocations: 94.38 kB / 0.9065 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01477/1.028, allocations: 7.689 MB / 0.9141 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01374/1.041, allocations: 4.251 MB / 0.9182 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007063/1.048, allocations: 2.427 MB / 0.9206 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01664/1.065, allocations: 11.93 MB / 0.9322 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/1.069, allocations: 2.206 MB / 0.9344 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006246/1.075, allocations: 3.137 MB / 0.9374 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/1.078, allocations: 1.816 MB / 0.9392 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004143/1.078, allocations: 228 kB / 0.9394 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0068/1.085, allocations: 3.859 MB / 0.9432 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/1.086, allocations: 1.141 MB / 0.9443 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/1.088, allocations: 1.687 MB / 0.946 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007572/1.095, allocations: 5.718 MB / 0.9515 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.095, allocations: 3.938 kB / 0.9516 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.252e-06/1.096, allocations: 0 / 0.9516 GB, free: 13.16 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.077e-05/1.096, allocations: 4 kB / 0.9516 GB, free: 13.16 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005878/1.101, allocations: 3.766 MB / 0.9552 GB, free: 9.309 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.101, allocations: 8.625 kB / 0.9552 GB, free: 9.301 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/1.102, allocations: 206.8 kB / 0.9554 GB, free: 9.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006784/1.109, allocations: 1.096 MB / 0.9565 GB, free: 7.988 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005935/1.114, allocations: 3.881 MB / 0.9603 GB, free: 4.043 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000444/1.115, allocations: 174.7 kB / 0.9605 GB, free: 3.871 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/1.115, allocations: 151.9 kB / 0.9606 GB, free: 3.723 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/1.118, allocations: 1.726 MB / 0.9623 GB, free: 1.926 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/1.119, allocations: 0 / 0.9623 GB, free: 1.926 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/1.119, allocations: 60 kB / 0.9624 GB, free: 1.867 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/1.119, allocations: 46.59 kB / 0.9624 GB, free: 1.82 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/1.122, allocations: 1.466 MB / 0.9638 GB, free: 356 kB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01189/1.134, allocations: 8.723 MB / 0.9723 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/1.137, allocations: 1.03 MB / 0.9734 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/1.138, allocations: 0.5142 MB / 0.9739 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/1.138, allocations: 114 kB / 0.974 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/1.138, allocations: 47.05 kB / 0.974 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 3.466e-06/1.138, allocations: 3.984 kB / 0.974 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.004387/1.143, allocations: 1.487 MB / 0.9755 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/1.143, allocations: 59.97 kB / 0.9755 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00381/1.146, allocations: 2.944 MB / 0.9784 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/1.147, allocations: 45.7 kB / 0.9784 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/1.148, allocations: 1.276 MB / 0.9797 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/1.148, allocations: 256.4 kB / 0.9799 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005727/1.148, allocations: 431.1 kB / 0.9803 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.149, allocations: 305.1 kB / 0.9806 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/1.15, allocations: 0.8207 MB / 0.9814 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/1.152, allocations: 1.326 MB / 0.9827 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/1.156, allocations: 1.922 MB / 0.9846 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.156, allocations: 4 kB / 0.9846 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004558/1.16, allocations: 2.427 MB / 0.987 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.16, allocations: 10.34 kB / 0.987 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.16, allocations: 12 kB / 0.987 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/1.16, allocations: 20 kB / 0.987 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.162, allocations: 383.5 kB / 0.9874 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003835/1.162, allocations: 0.621 MB / 0.988 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.164, allocations: 250.8 kB / 0.9882 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.164, allocations: 67.98 kB / 0.9883 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002626/1.167, allocations: 1.445 MB / 0.9897 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001927/1.169, allocations: 1.306 MB / 0.991 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003026/1.172, allocations: 1.873 MB / 0.9928 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.144e-06/1.172, allocations: 4 kB / 0.9928 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004562/1.177, allocations: 2.376 MB / 0.9951 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/1.177, allocations: 12 kB / 0.9951 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/1.177, allocations: 12 kB / 0.9952 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.177, allocations: 16 kB / 0.9952 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.178, allocations: 367.8 kB / 0.9955 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.334e-05/1.178, allocations: 23.92 kB / 0.9955 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/1.18, allocations: 199.7 kB / 0.9957 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.18, allocations: 67.98 kB / 0.9958 GB, free: 14.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003911/1.181, allocations: 267.8 kB / 0.9961 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/1.181, allocations: 268.4 kB / 0.9963 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/1.184, allocations: 1.142 MB / 0.9974 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.184, allocations: 8 kB / 0.9974 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.185, allocations: 3.938 kB / 0.9974 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002355/1.187, allocations: 0.9411 MB / 0.9984 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00696/1.194, allocations: 3.351 MB / 1.002 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.194, allocations: 0 / 1.002 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.195, allocations: 215.7 kB / 1.002 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/1.195, allocations: 4 kB / 1.002 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/1.195, allocations: 27.98 kB / 1.002 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002939/1.195, allocations: 0.5859 MB / 1.002 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.195, allocations: 8.125 kB / 1.002 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004032/1.199, allocations: 1.733 MB / 1.004 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/1.2, allocations: 465.4 kB / 1.005 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/1.201, allocations: 19.98 kB / 1.005 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.202, allocations: 83.86 kB / 1.005 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.202, allocations: 44.5 kB / 1.005 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/1.203, allocations: 35.91 kB / 1.005 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003037/1.206, allocations: 1.968 MB / 1.007 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/1.206, allocations: 0 / 1.007 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003267/1.209, allocations: 1.263 MB / 1.008 GB, free: 1.449 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005484/1.214, allocations: 2.69 MB / 1.011 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00634/1.221, allocations: 2.777 MB / 1.013 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.221, allocations: 4 kB / 1.013 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/1.222, allocations: 488.6 kB / 1.014 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006563/1.229, allocations: 1.45 MB / 1.015 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2811/1.51, allocations: 21.91 MB / 1.037 GB, free: 312.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.512, allocations: 1.931 MB / 1.038 GB, free: 311.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003401/1.515, allocations: 0.7229 MB / 1.039 GB, free: 311.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.516, allocations: 1.172 MB / 1.04 GB, free: 310.5 MB / 0.7325 GB Notification: Performance of SimCode: time 9.81e-07/1.516, allocations: 0 / 1.04 GB, free: 310.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/1.63, allocations: 73.56 MB / 1.112 GB, free: 251.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.6, allocations: 8 kB / 1.112 GB, free: 251.3 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)