Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001375/0.001375, 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.001565/0.001565, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6797/0.6797, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 59.66 kB / 0.5014 GB, free: 4.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2899, allocations: 80.21 MB / 0.5797 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001888/0.2918, allocations: 1.342 MB / 0.581 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007108/0.2926, allocations: 0.5899 MB / 0.5816 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.2926, allocations: 1.188 kB / 0.5816 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.2926, allocations: 4.641 kB / 0.5816 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/0.2927, allocations: 9.797 kB / 0.5816 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.2931, allocations: 123.1 kB / 0.5817 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.077e-05/0.2931, allocations: 15.72 kB / 0.5817 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.2932, allocations: 2.5 kB / 0.5817 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.802e-05/0.2932, allocations: 8.406 kB / 0.5817 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.863e-05/0.2932, allocations: 19.47 kB / 0.5817 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.2932, allocations: 0.75 kB / 0.5817 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.2937, allocations: 342.2 kB / 0.5821 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.407e-06/0.2937, allocations: 2.5 kB / 0.5821 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.2937, allocations: 20.53 kB / 0.5821 GB, free: 3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.2939, allocations: 147.6 kB / 0.5822 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2939, allocations: 0.9688 kB / 0.5822 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2939, allocations: 0.6562 kB / 0.5822 GB, free: 2.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.294, allocations: 0 / 0.5822 GB, free: 2.953 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002744/0.2942, allocations: 361.4 kB / 0.5826 GB, free: 2.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2943, allocations: 9.859 kB / 0.5826 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.986e-05/0.2943, allocations: 32.84 kB / 0.5826 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.2943, allocations: 1.969 kB / 0.5826 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.709e-05/0.2944, allocations: 166.7 kB / 0.5828 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-06/0.2944, allocations: 1.438 kB / 0.5828 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.2944, allocations: 5.672 kB / 0.5828 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.109e-05/0.2945, allocations: 52.22 kB / 0.5828 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.2945, allocations: 1.344 kB / 0.5828 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.2945, allocations: 0 / 0.5828 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2945, allocations: 5.953 kB / 0.5828 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.2946, allocations: 11.2 kB / 0.5829 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.2948, allocations: 252.3 kB / 0.5831 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.2949, allocations: 46.11 kB / 0.5831 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.295, allocations: 23.02 kB / 0.5832 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.295, allocations: 4.719 kB / 0.5832 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.295, allocations: 37.25 kB / 0.5832 GB, free: 1.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.295, allocations: 0 / 0.5832 GB, free: 1.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001366/0.2952, allocations: 59.5 kB / 0.5833 GB, free: 1.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.562e-05/0.2952, allocations: 56.5 kB / 0.5833 GB, free: 1.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.693e-05/0.2952, allocations: 96.05 kB / 0.5834 GB, free: 1.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.2952, allocations: 25.7 kB / 0.5834 GB, free: 1.672 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.2953, allocations: 86.16 kB / 0.5835 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.2953, allocations: 14.66 kB / 0.5835 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.2953, allocations: 18.05 kB / 0.5835 GB, free: 1.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.2953, allocations: 317.1 kB / 0.5838 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.2954, allocations: 14.23 kB / 0.5839 GB, free: 1.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.2954, allocations: 16.36 kB / 0.5839 GB, free: 1.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.2954, allocations: 31.05 kB / 0.5839 GB, free: 1.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2954, allocations: 4.125 kB / 0.5839 GB, free: 1.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.337e-05/0.2955, allocations: 63.83 kB / 0.584 GB, free: 1.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.2955, allocations: 5.344 kB / 0.584 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2955, allocations: 2.141 kB / 0.584 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2956, allocations: 0 / 0.584 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.235e-05/0.2956, allocations: 7.609 kB / 0.584 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2956, allocations: 2.719 kB / 0.584 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.2956, allocations: 7.844 kB / 0.584 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.2957, allocations: 7.391 kB / 0.584 GB, free: 1.129 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 3.614e-05/0.2957, allocations: 116.7 kB / 0.5841 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.2957, allocations: 2.078 kB / 0.5841 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.2958, allocations: 67.02 kB / 0.5842 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2958, allocations: 4.031 kB / 0.5842 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2959, allocations: 1.469 kB / 0.5842 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2959, allocations: 0.5156 kB / 0.5842 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.717e-05/0.296, allocations: 163.6 kB / 0.5843 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.296, allocations: 0 / 0.5843 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.296, allocations: 6.125 kB / 0.5843 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.296, allocations: 5.438 kB / 0.5843 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.296, allocations: 0 / 0.5843 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.296, allocations: 1.438 kB / 0.5843 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.296, allocations: 0 / 0.5843 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.498e-05/0.2961, allocations: 152.3 kB / 0.5845 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.2961, allocations: 82.95 kB / 0.5846 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.2961, allocations: 0.875 kB / 0.5846 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.643e-05/0.2962, allocations: 0.6562 kB / 0.5846 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.2962, allocations: 10.33 kB / 0.5846 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.2962, allocations: 1.734 kB / 0.5846 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.465e-05/0.2962, allocations: 84.08 kB / 0.5847 GB, free: 428 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2962, allocations: 0 / 0.5847 GB, free: 428 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.2965, allocations: 17.14 kB / 0.5847 GB, free: 424 kB / 430.1 MB 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0002989/0.2968, allocations: 0.7082 MB / 0.5854 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.862e-05/0.2969, allocations: 22.69 kB / 0.5854 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2969, allocations: 0.8125 kB / 0.5854 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.2969, allocations: 17.48 kB / 0.5854 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.2971, allocations: 2.812 kB / 0.5854 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.2975, allocations: 170.6 kB / 0.5856 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.2976, allocations: 0.68 MB / 0.5862 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.987e-05/0.2977, allocations: 6.922 kB / 0.5863 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.2977, allocations: 10.89 kB / 0.5863 GB, free: 14.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2977, allocations: 0 / 0.5863 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/0.436, allocations: 1.277 MB / 0.5875 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.4362, allocations: 208.7 kB / 0.5877 GB, free: 14.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.186, allocations: 0 / 0.5877 GB, free: 14.37 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)