Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.001387/0.001387, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001549/0.001549, allocations: 190.2 kB / 16.14 MB, free: 6.688 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.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.86/0.86, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 65.09 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1324, allocations: 80.92 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.009994/0.1425, allocations: 10.12 MB / 0.5937 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1449, allocations: 2.218 MB / 0.5959 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.145, allocations: 7.938 kB / 0.5959 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.1453, allocations: 87.47 kB / 0.5959 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.1458, allocations: 227 kB / 0.5962 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.1463, allocations: 212.2 kB / 0.5964 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.1468, allocations: 0.5931 MB / 0.5969 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.1471, allocations: 128.4 kB / 0.5971 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.1474, allocations: 187.1 kB / 0.5972 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1475, allocations: 127.4 kB / 0.5974 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1476, allocations: 8 kB / 0.5974 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.1479, allocations: 151.7 kB / 0.5975 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.1479, allocations: 39.83 kB / 0.5976 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.147e-05/0.148, allocations: 63.67 kB / 0.5976 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.1483, allocations: 243.2 kB / 0.5978 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1483, allocations: 0 / 0.5978 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.41e-07/0.1484, allocations: 0 / 0.5978 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.1484, allocations: 0 / 0.5978 GB, free: 6.457 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005644/0.1489, allocations: 478.8 kB / 0.5983 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.149, allocations: 8.031 kB / 0.5983 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.149, allocations: 42.75 kB / 0.5984 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.1491, allocations: 16.75 kB / 0.5984 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1493, allocations: 241.4 kB / 0.5986 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1493, allocations: 12.12 kB / 0.5986 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1494, allocations: 12 kB / 0.5986 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1497, allocations: 139.6 kB / 0.5988 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1497, allocations: 4 kB / 0.5988 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1497, allocations: 7.938 kB / 0.5988 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1497, allocations: 4 kB / 0.5988 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.15, allocations: 91.86 kB / 0.5989 GB, free: 5.32 MB / 0.4981 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.0007042/0.1507, allocations: 0.5354 MB / 0.5994 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1509, allocations: 97.11 kB / 0.5995 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.151, allocations: 53.81 kB / 0.5995 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.1513, allocations: 336.4 kB / 0.5998 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1513, allocations: 42.48 kB / 0.5999 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1513, allocations: 0 / 0.5999 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004758/0.1518, allocations: 161.5 kB / 0.6 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.1519, allocations: 85.09 kB / 0.6001 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.152, allocations: 179.8 kB / 0.6003 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.152, allocations: 25.7 kB / 0.6003 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.1521, allocations: 116.2 kB / 0.6004 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1521, allocations: 27.64 kB / 0.6005 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.1522, allocations: 21.72 kB / 0.6005 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1523, allocations: 326.8 kB / 0.6008 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1524, allocations: 36 kB / 0.6008 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1526, allocations: 67.39 kB / 0.6009 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.1528, allocations: 102.5 kB / 0.601 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1528, allocations: 3.938 kB / 0.601 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002971/0.1531, allocations: 129.4 kB / 0.6011 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1531, allocations: 4 kB / 0.6011 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1532, allocations: 0 / 0.6011 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1532, allocations: 7.938 kB / 0.6011 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1534, allocations: 40.27 kB / 0.6012 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1534, allocations: 0 / 0.6012 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1535, allocations: 23.83 kB / 0.6012 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1536, allocations: 8 kB / 0.6012 GB, free: 2.684 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.1537, allocations: 133.7 kB / 0.6013 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.1537, allocations: 11.91 kB / 0.6013 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.154, allocations: 138.2 kB / 0.6015 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.154, allocations: 0 / 0.6015 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.154, allocations: 3.938 kB / 0.6015 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.154, allocations: 7.984 kB / 0.6015 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.1545, allocations: 468.8 kB / 0.6019 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1546, allocations: 0 / 0.6019 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.1548, allocations: 43.94 kB / 0.602 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1548, allocations: 0 / 0.602 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1548, allocations: 7.984 kB / 0.602 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1548, allocations: 240 / 0.602 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1548, allocations: 4 kB / 0.602 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.1552, allocations: 345 kB / 0.6023 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.1553, allocations: 101 kB / 0.6024 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1553, allocations: 4 kB / 0.6024 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1554, allocations: 11.91 kB / 0.6024 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.1555, allocations: 15.92 kB / 0.6024 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1555, allocations: 7.938 kB / 0.6024 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001106/0.1556, allocations: 144.9 kB / 0.6026 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1556, allocations: 0 / 0.6026 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00035/0.156, allocations: 55.92 kB / 0.6026 GB, free: 1.086 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008735/0.1569, allocations: 0.9406 MB / 0.6035 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.1572, allocations: 103.9 kB / 0.6036 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1572, allocations: 0 / 0.6036 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.2017/0.3589, allocations: 60.78 kB / 0.6037 GB, free: 53.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.3597, allocations: 72.89 kB / 0.6038 GB, free: 53.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3615, allocations: 2.011 MB / 0.6057 GB, free: 52.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3617, allocations: 0.7325 MB / 0.6064 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.171e-05/0.3618, allocations: 26.92 kB / 0.6065 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.3618, allocations: 49.3 kB / 0.6065 GB, free: 51.66 MB / 0.4981 GB Notification: Performance of SimCode: time 6.22e-07/0.3618, allocations: 4.219 kB / 0.6065 GB, free: 51.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5031/0.8649, allocations: 4.933 MB / 0.6113 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.8651, allocations: 246.5 kB / 0.6116 GB, free: 51.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.95, allocations: 3.938 kB / 0.6116 GB, free: 51 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)