Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001415/0.001415, allocations: 193.8 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4632/0.4632, allocations: 54.93 MB / 324.3 MB, free: 144 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 60.38 kB / 394.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1248, allocations: 59.59 MB / 454.2 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.2101/0.335, allocations: 1.327 MB / 455.6 MB, free: 39.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.3359, allocations: 0.5323 MB / 456.1 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.336, allocations: 0 / 456.1 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.336, allocations: 3.375 kB / 456.1 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.3361, allocations: 7.422 kB / 456.1 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.3365, allocations: 96.72 kB / 456.2 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.53e-05/0.3366, allocations: 28.33 kB / 456.2 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.3366, allocations: 2.625 kB / 456.2 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.3366, allocations: 8.484 kB / 456.2 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.3367, allocations: 13.16 kB / 456.3 MB, free: 39.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.3367, allocations: 0.7188 kB / 456.3 MB, free: 39.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.3371, allocations: 343.8 kB / 456.6 MB, free: 39.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.3372, allocations: 6.797 kB / 456.6 MB, free: 39.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.3372, allocations: 10.59 kB / 456.6 MB, free: 39.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.3374, allocations: 138.9 kB / 456.8 MB, free: 39.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3375, allocations: 0 / 456.8 MB, free: 39.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3375, allocations: 2.844 kB / 456.8 MB, free: 39.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3375, allocations: 0 / 456.8 MB, free: 39.34 MB / 382.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.0003471/0.3378, allocations: 355 kB / 457.1 MB, free: 38.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3379, allocations: 11.91 kB / 457.1 MB, free: 38.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.3379, allocations: 6.688 kB / 457.1 MB, free: 38.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.193e-05/0.338, allocations: 167.7 kB / 457.3 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.338, allocations: 1.062 kB / 457.3 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.338, allocations: 7.062 kB / 457.3 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.3393, allocations: 217.2 kB / 457.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3393, allocations: 1.594 kB / 457.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3393, allocations: 3.938 kB / 457.5 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3393, allocations: 3.125 kB / 457.5 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3404, allocations: 192.7 kB / 457.7 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.3407, allocations: 247.6 kB / 457.9 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.3418, allocations: 231.6 kB / 458.2 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.3419, allocations: 21.28 kB / 458.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.3423, allocations: 213.1 kB / 458.4 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.3424, allocations: 30.56 kB / 458.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3424, allocations: 0 / 458.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.002099/0.3445, allocations: 409.5 kB / 458.8 MB, free: 38.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.3445, allocations: 58.47 kB / 458.9 MB, free: 38.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.781e-05/0.3446, allocations: 97.58 kB / 459 MB, free: 37.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.3446, allocations: 25.7 kB / 459 MB, free: 37.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.3446, allocations: 84.52 kB / 459.1 MB, free: 37.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.3446, allocations: 10.72 kB / 459.1 MB, free: 37.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.3447, allocations: 21.06 kB / 459.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.3447, allocations: 316.8 kB / 459.4 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.345, allocations: 54.06 kB / 459.5 MB, free: 37.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3452, allocations: 68.33 kB / 459.5 MB, free: 37.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.3456, allocations: 121.5 kB / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3456, allocations: 4 kB / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004953/0.3461, allocations: 153 kB / 459.8 MB, free: 37.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3462, allocations: 10.03 kB / 459.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3462, allocations: 0 / 459.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3462, allocations: 0.7969 kB / 459.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.3464, allocations: 30.62 kB / 459.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3464, allocations: 0 / 459.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.3466, allocations: 31.08 kB / 459.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3466, allocations: 2.938 kB / 459.9 MB, free: 37.43 MB / 382.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 5.987e-05/0.3467, allocations: 117.3 kB / 460 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.3467, allocations: 2.781 kB / 460 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.3468, allocations: 5.047 kB / 460 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3468, allocations: 4 kB / 460 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3468, allocations: 2.844 kB / 460 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3468, allocations: 1.562 kB / 460 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.3469, allocations: 164.2 kB / 460.2 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3469, allocations: 3.062 kB / 460.2 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3471, allocations: 31.3 kB / 460.2 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3471, allocations: 7.938 kB / 460.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3472, allocations: 3.062 kB / 460.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3472, allocations: 0 / 460.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3472, allocations: 1.266 kB / 460.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.3477, allocations: 246 kB / 460.5 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.3477, allocations: 80.98 kB / 460.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3478, allocations: 0.75 kB / 460.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.3479, allocations: 25.91 kB / 460.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.348, allocations: 4.406 kB / 460.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.348, allocations: 2.875 kB / 460.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.169e-05/0.348, allocations: 76.31 kB / 460.7 MB, free: 36.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.348, allocations: 3.031 kB / 460.7 MB, free: 36.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.3482, allocations: 11.75 kB / 460.7 MB, free: 36.79 MB / 382.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 8.917e-05/0.3483, allocations: 102.3 kB / 460.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004751/0.3488, allocations: 113.8 kB / 460.9 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3488, allocations: 0 / 460.9 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.3491, allocations: 63.59 kB / 460.9 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3493, allocations: 10.72 kB / 461 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.3498, allocations: 193.6 kB / 461.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.006e-05/0.3499, allocations: 0.6832 MB / 461.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.29e-05/0.35, allocations: 9.984 kB / 461.8 MB, free: 35.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.3501, allocations: 14.31 kB / 461.8 MB, free: 35.86 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3501, allocations: 0 / 461.8 MB, free: 35.86 MB / 382.1 MB Notification: Performance of Templates: time 0.002098/0.3522, allocations: 0.5176 MB / 462.4 MB, free: 35.84 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)