Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001428/0.001428, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001835/0.001835, allocations: 177.3 kB / 15.95 MB, free: 208 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.387/2.387, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.447/1.447, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005481/0.0005482, allocations: 12 kB / 0.5069 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.245, allocations: 82.32 MB / 0.5873 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002446/0.2475, allocations: 0.9556 MB / 0.5882 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2485, allocations: 324.8 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.2486, allocations: 0 / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.2486, allocations: 0 / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.965e-05/0.2487, allocations: 4 kB / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.2493, allocations: 67.77 kB / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.2494, allocations: 11.98 kB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.2495, allocations: 0 / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.2495, allocations: 4 kB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.2496, allocations: 7.922 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2496, allocations: 0 / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.2502, allocations: 187.7 kB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.2502, allocations: 0 / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.2503, allocations: 25.7 kB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.2505, allocations: 52.16 kB / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2505, allocations: 0 / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2505, allocations: 0 / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2505, allocations: 0 / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000633/0.2512, allocations: 331.3 kB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.2512, allocations: 8.031 kB / 0.5892 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.2513, allocations: 34.5 kB / 0.5892 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.2514, allocations: 8 kB / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.2516, allocations: 171 kB / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2516, allocations: 0 / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2516, allocations: 0 / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.2518, allocations: 37.62 kB / 0.5894 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2518, allocations: 0 / 0.5894 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.2518, allocations: 0 / 0.5894 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2518, allocations: 0 / 0.5894 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.103e-05/0.2519, allocations: 4 kB / 0.5894 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.2521, allocations: 161.6 kB / 0.5896 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.2522, allocations: 18.61 kB / 0.5896 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.2523, allocations: 4 kB / 0.5896 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.2523, allocations: 34.62 kB / 0.5897 GB, free: 464 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.704e-06/0.2523, allocations: 3.938 kB / 0.5897 GB, free: 460 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002012/0.2525, allocations: 37.69 kB / 0.5897 GB, free: 416 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2526, allocations: 55.53 kB / 0.5898 GB, free: 348 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2527, allocations: 97.86 kB / 0.5898 GB, free: 240 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2528, allocations: 29.64 kB / 0.5899 GB, free: 204 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.2528, allocations: 80.14 kB / 0.5899 GB, free: 120 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.2529, allocations: 3.906 kB / 0.59 GB, free: 116 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.2529, allocations: 0 / 0.59 GB, free: 116 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2531, allocations: 322.8 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.2531, allocations: 128 / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.2532, allocations: 4 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.2532, allocations: 7.953 kB / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.2532, allocations: 0 / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001162/0.2533, allocations: 41.64 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.2534, allocations: 8 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2534, allocations: 0 / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2534, allocations: 0 / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.2537, allocations: 11.98 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006765/0.2544, allocations: 0.5822 MB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.2544, allocations: 3.953 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2545, allocations: 0 / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.2546, allocations: 117.8 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.2546, allocations: 3.906 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.2548, allocations: 44.92 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2548, allocations: 0 / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2548, allocations: 0 / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.2549, allocations: 3.984 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.2551, allocations: 157.6 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2552, allocations: 3.938 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.2553, allocations: 11.98 kB / 0.5912 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2553, allocations: 0 / 0.5912 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.2553, allocations: 0 / 0.5912 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005867/0.2559, allocations: 0.5977 MB / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2559, allocations: 0 / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.2562, allocations: 65.11 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.2562, allocations: 77.11 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2563, allocations: 0 / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.2563, allocations: 0 / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.2563, allocations: 12.08 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.2564, allocations: 0 / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.2564, allocations: 87.2 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.607e-06/0.2564, allocations: 0 / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003804/0.2568, allocations: 11.94 kB / 0.5921 GB, free: 13.79 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006583/0.2575, allocations: 0.6087 MB / 0.5927 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.2578, allocations: 23.98 kB / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2578, allocations: 0 / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.258, allocations: 15.92 kB / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.2582, allocations: 7.953 kB / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.2588, allocations: 140.9 kB / 0.5928 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.2594, allocations: 0.6731 MB / 0.5935 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.2594, allocations: 0 / 0.5935 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.2595, allocations: 11.42 kB / 0.5935 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.2595, allocations: 0 / 0.5935 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.2815, allocations: 1.131 MB / 0.5946 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003386/0.2819, allocations: 230.3 kB / 0.5948 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/2.879, allocations: 3.938 kB / 0.5948 GB, free: 11.09 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: