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.001918/0.001919, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002067/0.002068, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.26/2.26, 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.561/1.561, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 60.45 kB / 0.505 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2103, allocations: 80.92 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003997/0.2143, allocations: 1.302 MB / 0.5853 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2157, allocations: 0.5933 MB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.2158, allocations: 0 / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.2158, allocations: 0 / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.2159, allocations: 3.938 kB / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.2166, allocations: 127.6 kB / 0.586 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.2167, allocations: 7.938 kB / 0.586 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.2168, allocations: 7.984 kB / 0.586 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.18e-05/0.2168, allocations: 4 kB / 0.586 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.2168, allocations: 4 kB / 0.586 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.2169, allocations: 0 / 0.586 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007015/0.2176, allocations: 347.3 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.2176, allocations: 0 / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.2176, allocations: 3.938 kB / 0.5863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.218, allocations: 136 kB / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.218, allocations: 0 / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.218, allocations: 7.938 kB / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.218, allocations: 0 / 0.5865 GB, free: 2.262 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.0004982/0.2186, allocations: 359.3 kB / 0.5868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.2186, allocations: 12.03 kB / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.2187, allocations: 30.75 kB / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.2187, allocations: 0.9375 kB / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.2189, allocations: 168.3 kB / 0.587 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2189, allocations: 4.375 kB / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.2189, allocations: 384 / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.219, allocations: 41.62 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2191, allocations: 0 / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.2191, allocations: 0 / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2191, allocations: 0 / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.972e-05/0.2191, allocations: 8 kB / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.2193, allocations: 145.7 kB / 0.5872 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.2194, allocations: 30.55 kB / 0.5872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.2195, allocations: 12.8 kB / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2195, allocations: 4 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.2195, allocations: 34.56 kB / 0.5873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.2196, allocations: 0 / 0.5873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001609/0.2197, allocations: 41.69 kB / 0.5873 GB, free: 1.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.2198, allocations: 51.41 kB / 0.5874 GB, free: 1.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.2199, allocations: 93.98 kB / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2199, allocations: 33.77 kB / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.2199, allocations: 88.12 kB / 0.5876 GB, free: 0.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.22, allocations: 7.906 kB / 0.5876 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.22, allocations: 9.719 kB / 0.5876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2202, allocations: 314.8 kB / 0.5879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.2202, allocations: 8 kB / 0.5879 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.2202, allocations: 4 kB / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.2203, allocations: 20.86 kB / 0.5879 GB, free: 0.543 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2203, allocations: 0 / 0.5879 GB, free: 0.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.568e-05/0.2204, allocations: 41.64 kB / 0.588 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2204, allocations: 4 kB / 0.588 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2205, allocations: 3.984 kB / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2205, allocations: 0 / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.2207, allocations: 11.94 kB / 0.588 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004623/0.2212, allocations: 0.5822 MB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.2212, allocations: 4.031 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2212, allocations: 0 / 0.5885 GB, free: 15.87 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/0.2213, allocations: 113.8 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.2213, allocations: 7.906 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.2215, allocations: 48.75 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2215, allocations: 4 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2215, allocations: 4.125 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2215, allocations: 0 / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.2217, allocations: 145.6 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2217, allocations: 4 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.2218, allocations: 11.98 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2218, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2218, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003874/0.2222, allocations: 0.5821 MB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2223, allocations: 4.094 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.2224, allocations: 65.09 kB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.2224, allocations: 81.11 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2225, allocations: 7.938 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.2225, allocations: 0 / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.2225, allocations: 3.984 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.2225, allocations: 3.938 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.2226, allocations: 83.31 kB / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2226, allocations: 0 / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003311/0.2229, allocations: 15.94 kB / 0.5897 GB, free: 14.57 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005073/0.2235, allocations: 0.6121 MB / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.2237, allocations: 23.92 kB / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2237, allocations: 3.938 kB / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.2238, allocations: 15.98 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.2241, allocations: 2.953 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.2247, allocations: 139.8 kB / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.225, allocations: 0.6768 MB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.2251, allocations: 4 kB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.2251, allocations: 7.438 kB / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.2251, allocations: 0 / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.2436, allocations: 1.242 MB / 0.5924 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003476/0.244, allocations: 262.7 kB / 0.5926 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/2.965, allocations: 0 / 0.5926 GB, free: 11.73 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/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)