Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.001202/0.001202, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001186/0.001186, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.16/1.16, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.043/1.043, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 67.95 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2258, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00497/0.2309, allocations: 2.083 MB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.2359, allocations: 1.995 MB / 0.588 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.2363, allocations: 4 kB / 0.588 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.2376, allocations: 255.1 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.2391, allocations: 267.2 kB / 0.5885 GB, free: 164 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.2408, allocations: 443.6 kB / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.2419, allocations: 466.8 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.2421, allocations: 44.3 kB / 0.5894 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.2425, allocations: 167.5 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004648/0.243, allocations: 187.3 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.2431, allocations: 16 kB / 0.5897 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2442, allocations: 443.2 kB / 0.5902 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.2445, allocations: 95.7 kB / 0.5903 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.2447, allocations: 115.3 kB / 0.5904 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.2461, allocations: 0.5766 MB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2462, allocations: 0 / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2462, allocations: 0 / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.2462, allocations: 4 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.002105/0.2483, allocations: 0.5994 MB / 0.5915 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001039/0.2484, allocations: 12.03 kB / 0.5915 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.821e-05/0.2485, allocations: 34.75 kB / 0.5916 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005813/0.2491, allocations: 56.47 kB / 0.5916 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.2501, allocations: 328.3 kB / 0.5919 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.2501, allocations: 12.12 kB / 0.5919 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.2502, allocations: 12 kB / 0.592 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.2508, allocations: 145.6 kB / 0.5921 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2508, allocations: 0 / 0.5921 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.2508, allocations: 8 kB / 0.5921 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2509, allocations: 7.938 kB / 0.5921 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.2514, allocations: 131.8 kB / 0.5922 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.2527, allocations: 488.4 kB / 0.5927 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.2532, allocations: 142.4 kB / 0.5928 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.2535, allocations: 64.81 kB / 0.5929 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.2535, allocations: 4 kB / 0.5929 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.2536, allocations: 30.56 kB / 0.5929 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 3.877e-06/0.2536, allocations: 4 kB / 0.5929 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001003/0.2546, allocations: 237.3 kB / 0.5932 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.2547, allocations: 55.41 kB / 0.5932 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005944/0.2553, allocations: 332.5 kB / 0.5935 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.2553, allocations: 37.7 kB / 0.5936 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.2555, allocations: 148 kB / 0.5937 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.2556, allocations: 35.53 kB / 0.5937 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.2557, allocations: 49.69 kB / 0.5938 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.2559, allocations: 338.8 kB / 0.5941 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.2563, allocations: 116.8 kB / 0.5942 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.2568, allocations: 166.7 kB / 0.5944 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/0.2575, allocations: 284.4 kB / 0.5946 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2576, allocations: 0 / 0.5946 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000979/0.2585, allocations: 325 kB / 0.595 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.2586, allocations: 4 kB / 0.595 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2586, allocations: 4.219 kB / 0.595 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.2586, allocations: 11.94 kB / 0.595 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.259, allocations: 51.89 kB / 0.595 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.259, allocations: 4 kB / 0.595 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.2593, allocations: 19.83 kB / 0.5951 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.2593, allocations: 16 kB / 0.5951 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004428/0.2598, allocations: 208 kB / 0.5953 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003713/0.2602, allocations: 149 kB / 0.5954 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006739/0.2609, allocations: 241.6 kB / 0.5956 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.2609, allocations: 4 kB / 0.5956 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0008669/0.2618, allocations: 285.4 kB / 0.5959 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.2618, allocations: 4 kB / 0.5959 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2618, allocations: 7.984 kB / 0.5959 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/0.2619, allocations: 4.219 kB / 0.5959 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.2621, allocations: 55.78 kB / 0.596 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2622, allocations: 4 kB / 0.596 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.2624, allocations: 19.83 kB / 0.596 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.2625, allocations: 12 kB / 0.596 GB, free: 8.094 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.2627, allocations: 188.2 kB / 0.5962 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.2628, allocations: 23.72 kB / 0.5962 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/0.2636, allocations: 204.2 kB / 0.5964 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.2636, allocations: 4 kB / 0.5964 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.2636, allocations: 0 / 0.5964 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2636, allocations: 0 / 0.5964 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.2641, allocations: 285.4 kB / 0.5967 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2642, allocations: 0 / 0.5967 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.2644, allocations: 23.97 kB / 0.5967 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.2644, allocations: 4 kB / 0.5967 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2644, allocations: 3.938 kB / 0.5967 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2644, allocations: 4 kB / 0.5967 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2644, allocations: 0 / 0.5967 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.2651, allocations: 287 kB / 0.597 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.2653, allocations: 112.7 kB / 0.5971 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.2654, allocations: 15.92 kB / 0.5971 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.2656, allocations: 4 kB / 0.5971 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.2657, allocations: 7.984 kB / 0.5971 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2657, allocations: 4 kB / 0.5971 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004092/0.2662, allocations: 247 kB / 0.5974 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2662, allocations: 192 / 0.5974 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009325/0.2671, allocations: 136 kB / 0.5975 GB, free: 6.465 MB / 0.4981 GB 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/0.2688, allocations: 0.9188 MB / 0.5984 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.27, allocations: 327.5 kB / 0.5987 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.27, allocations: 0 / 0.5987 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.2703, allocations: 72.77 kB / 0.5988 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.2711, allocations: 104 kB / 0.5989 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006645/0.2777, allocations: 3.063 MB / 0.6019 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.2783, allocations: 0.7756 MB / 0.6026 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004893/0.2788, allocations: 78.86 kB / 0.6027 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.2791, allocations: 87.41 kB / 0.6028 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.2791, allocations: 0 / 0.6028 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6527/0.9318, allocations: 9.093 MB / 0.6117 GB, free: 52.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.932, allocations: 216 kB / 0.6119 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.36/4.292, allocations: 0 / 0.6119 GB, free: 51.8 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)