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.001924/0.001924, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002717/0.002717, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.474/2.474, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.199/2.199, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006428/0.0006433, allocations: 12 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3184, allocations: 82.31 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003286/0.3218, allocations: 1.662 MB / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004903/0.3267, allocations: 1.85 MB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.3271, allocations: 4 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008898/0.328, allocations: 159.4 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.3293, allocations: 223.5 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.3308, allocations: 371.3 kB / 0.5914 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000948/0.3318, allocations: 287.5 kB / 0.5917 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.332, allocations: 32.38 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.3324, allocations: 127.6 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.3328, allocations: 127.5 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.3329, allocations: 15.94 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009943/0.3339, allocations: 299.6 kB / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.3341, allocations: 83.77 kB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3342, allocations: 65.58 kB / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009562/0.3352, allocations: 399.4 kB / 0.5928 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3352, allocations: 0 / 0.5928 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3352, allocations: 0 / 0.5928 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.3353, allocations: 0 / 0.5928 GB, free: 13.33 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.001464/0.3367, allocations: 0.5664 MB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.205e-05/0.3368, allocations: 12.03 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.53e-05/0.3369, allocations: 38.5 kB / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.3374, allocations: 51.59 kB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007671/0.3382, allocations: 323 kB / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3382, allocations: 8 kB / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.3383, allocations: 15.98 kB / 0.5938 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.3388, allocations: 157.5 kB / 0.5939 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3388, allocations: 0 / 0.5939 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.3389, allocations: 3.984 kB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3389, allocations: 4 kB / 0.594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.3395, allocations: 139.9 kB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3408, allocations: 0.4886 MB / 0.5946 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.3413, allocations: 134.5 kB / 0.5947 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.3414, allocations: 7.984 kB / 0.5947 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.3414, allocations: 38.52 kB / 0.5947 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 6.362e-06/0.3415, allocations: 0 / 0.5947 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.00106/0.3425, allocations: 257.3 kB / 0.595 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3426, allocations: 51.41 kB / 0.595 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.3431, allocations: 332.5 kB / 0.5953 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.3432, allocations: 29.7 kB / 0.5954 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3434, allocations: 152.1 kB / 0.5955 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.3434, allocations: 31.55 kB / 0.5956 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.3434, allocations: 0 / 0.5956 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3437, allocations: 342.8 kB / 0.5959 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.344, allocations: 83.94 kB / 0.596 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.3444, allocations: 134.8 kB / 0.5961 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.3447, allocations: 91.95 kB / 0.5962 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3448, allocations: 0 / 0.5962 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009306/0.3457, allocations: 280.1 kB / 0.5964 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004015/0.3461, allocations: 0.7032 MB / 0.5971 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3461, allocations: 0 / 0.5971 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.3462, allocations: 7.984 kB / 0.5971 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.3465, allocations: 51.91 kB / 0.5972 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.3466, allocations: 4 kB / 0.5972 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.3469, allocations: 31.72 kB / 0.5972 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.3469, allocations: 19.98 kB / 0.5972 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.347, allocations: 6.344 kB / 0.5972 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008454/0.3478, allocations: 247.9 kB / 0.5975 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3478, allocations: 7.938 kB / 0.5975 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.3479, allocations: 0 / 0.5975 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.3482, allocations: 51.89 kB / 0.5975 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3482, allocations: 4 kB / 0.5975 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.3484, allocations: 15.91 kB / 0.5976 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.3485, allocations: 19.98 kB / 0.5976 GB, free: 8.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002812/0.3488, allocations: 237 kB / 0.5978 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.3489, allocations: 31.58 kB / 0.5978 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007657/0.3496, allocations: 204.6 kB / 0.598 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3497, allocations: 4 kB / 0.598 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3497, allocations: 3.938 kB / 0.598 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3497, allocations: 0 / 0.598 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.3502, allocations: 281.4 kB / 0.5983 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3502, allocations: 0 / 0.5983 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.3504, allocations: 31.94 kB / 0.5983 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3504, allocations: 0 / 0.5983 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.3505, allocations: 4 kB / 0.5983 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.3505, allocations: 7.984 kB / 0.5983 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3505, allocations: 0 / 0.5983 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.3512, allocations: 287.1 kB / 0.5986 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3513, allocations: 112.7 kB / 0.5987 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.3514, allocations: 7.953 kB / 0.5987 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3516, allocations: 15.98 kB / 0.5988 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.3517, allocations: 7.984 kB / 0.5988 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3518, allocations: 4 kB / 0.5988 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000379/0.3521, allocations: 239 kB / 0.599 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3522, allocations: 0 / 0.599 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005099/0.3573, allocations: 140 kB / 0.5991 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 (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.001722/0.359, allocations: 0.9308 MB / 0.6 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.3602, allocations: 303.6 kB / 0.6003 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3602, allocations: 0.875 kB / 0.6003 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.3606, allocations: 75.95 kB / 0.6004 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.3613, allocations: 94.73 kB / 0.6005 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.3641, allocations: 1.916 MB / 0.6024 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.3647, allocations: 0.7758 MB / 0.6031 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000504/0.3652, allocations: 70.94 kB / 0.6032 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.3655, allocations: 99.33 kB / 0.6033 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/0.3655, allocations: 0 / 0.6033 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7871/1.153, allocations: 8.759 MB / 0.6118 GB, free: 46.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004/1.153, allocations: 192 kB / 0.612 GB, free: 46.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.705/4.858, allocations: 0 / 0.612 GB, free: 46.4 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/linux/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) Environment - environmentSimulation: