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.001624/0.001624, 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.001914/0.001914, allocations: 196.5 kB / 16.26 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 2.038/2.038, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.325/1.325, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 76.27 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2065, allocations: 80.92 MB / 0.584 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01465/0.2212, allocations: 10.1 MB / 0.5938 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003368/0.2246, allocations: 2.214 MB / 0.596 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.225, allocations: 11.94 kB / 0.596 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.2254, allocations: 71.5 kB / 0.5961 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008047/0.2263, allocations: 235 kB / 0.5963 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.2272, allocations: 217.6 kB / 0.5965 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.2278, allocations: 439.5 kB / 0.5969 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.2282, allocations: 136.4 kB / 0.5971 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.2288, allocations: 203.1 kB / 0.5973 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.2291, allocations: 131.4 kB / 0.5974 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.2291, allocations: 12 kB / 0.5974 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.2295, allocations: 155.7 kB / 0.5975 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.2296, allocations: 39.89 kB / 0.5976 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.2297, allocations: 71.61 kB / 0.5977 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.2302, allocations: 255.2 kB / 0.5979 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2302, allocations: 0 / 0.5979 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2302, allocations: 0 / 0.5979 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.2303, allocations: 0 / 0.5979 GB, free: 6.477 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.0007891/0.2311, allocations: 474.8 kB / 0.5983 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.2311, allocations: 12.03 kB / 0.5984 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.2312, allocations: 42.75 kB / 0.5984 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.2312, allocations: 16.75 kB / 0.5984 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.2315, allocations: 240.6 kB / 0.5986 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2316, allocations: 8.125 kB / 0.5987 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.2316, allocations: 15.94 kB / 0.5987 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.232, allocations: 143 kB / 0.5988 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.232, allocations: 0 / 0.5988 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.232, allocations: 8 kB / 0.5988 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2321, allocations: 0 / 0.5988 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.2323, allocations: 98.39 kB / 0.5989 GB, free: 5.34 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.0008789/0.2332, allocations: 0.5354 MB / 0.5994 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.2335, allocations: 93.11 kB / 0.5995 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.2336, allocations: 65.78 kB / 0.5996 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/0.234, allocations: 332.4 kB / 0.5999 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.234, allocations: 38.5 kB / 0.5999 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.234, allocations: 0 / 0.5999 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005625/0.2346, allocations: 165.3 kB / 0.6001 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.2347, allocations: 77.11 kB / 0.6002 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.2348, allocations: 183.8 kB / 0.6003 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.2349, allocations: 25.7 kB / 0.6004 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.235, allocations: 116.2 kB / 0.6005 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.235, allocations: 27.64 kB / 0.6005 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.2351, allocations: 21.72 kB / 0.6005 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2353, allocations: 334.9 kB / 0.6008 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.2354, allocations: 27.97 kB / 0.6009 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2355, allocations: 67.41 kB / 0.6009 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.2358, allocations: 106.4 kB / 0.601 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2359, allocations: 7.875 kB / 0.601 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003352/0.2362, allocations: 125.4 kB / 0.6012 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.2362, allocations: 4 kB / 0.6012 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.2363, allocations: 0 / 0.6012 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2363, allocations: 0 / 0.6012 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.2366, allocations: 40.02 kB / 0.6012 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2366, allocations: 4.25 kB / 0.6012 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.2368, allocations: 19.83 kB / 0.6012 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.2368, allocations: 15.98 kB / 0.6012 GB, free: 2.699 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.0001275/0.2369, allocations: 129.7 kB / 0.6014 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.237, allocations: 11.91 kB / 0.6014 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.2373, allocations: 138.3 kB / 0.6015 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2373, allocations: 3.984 kB / 0.6015 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2373, allocations: 0 / 0.6015 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2373, allocations: 7.875 kB / 0.6015 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.238, allocations: 472.8 kB / 0.602 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.238, allocations: 0 / 0.602 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.2382, allocations: 43.98 kB / 0.602 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2382, allocations: 0 / 0.602 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2382, allocations: 4 kB / 0.602 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2382, allocations: 0 / 0.602 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2382, allocations: 4 kB / 0.602 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.2387, allocations: 349 kB / 0.6024 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.2388, allocations: 100.9 kB / 0.6025 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.2388, allocations: 4 kB / 0.6025 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.239, allocations: 11.89 kB / 0.6025 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.2391, allocations: 15.94 kB / 0.6025 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.2391, allocations: 4 kB / 0.6025 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001364/0.2392, allocations: 144.9 kB / 0.6026 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/0.2393, allocations: 0 / 0.6026 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004476/0.2397, allocations: 59.92 kB / 0.6027 GB, free: 1.102 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.001233/0.241, allocations: 0.9338 MB / 0.6036 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.2414, allocations: 107.8 kB / 0.6037 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2414, allocations: 0 / 0.6037 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.3537/0.5951, allocations: 61.64 kB / 0.6038 GB, free: 53.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5963, allocations: 73.58 kB / 0.6038 GB, free: 53.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.5992, allocations: 2.013 MB / 0.6058 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.5994, allocations: 0.7262 MB / 0.6065 GB, free: 51.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.5995, allocations: 32.78 kB / 0.6065 GB, free: 51.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.5996, allocations: 48.17 kB / 0.6066 GB, free: 51.14 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.5997, allocations: 0 / 0.6066 GB, free: 51.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.6206, allocations: 5.063 MB / 0.6115 GB, free: 50.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.6209, allocations: 249.7 kB / 0.6118 GB, free: 50.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/3.551, allocations: 1.641 kB / 0.6118 GB, free: 50.46 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)