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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7501/0.7501, allocations: 130.7 MB / 138.7 MB, free: 3.602 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008456/0.0008456, allocations: 93.59 kB / 473.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.56e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.5281, allocations: 81.57 MB / 0.6282 GB, free: 42.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.6986, allocations: 112.1 MB / 0.7376 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.699, allocations: 85.06 kB / 0.7377 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01638/0.7154, allocations: 5.376 MB / 0.743 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7154, allocations: 0 / 0.743 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.7154, allocations: 4 kB / 0.743 GB, free: 9.242 MB / 0.5261 GB 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.0004801/0.7159, allocations: 354.4 kB / 0.7433 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.716, allocations: 8.031 kB / 0.7433 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.716, allocations: 11.86 kB / 0.7433 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.7162, allocations: 163 kB / 0.7435 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.7162, allocations: 3.938 kB / 0.7435 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.7162, allocations: 4 kB / 0.7435 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.623e-05/0.7163, allocations: 15.98 kB / 0.7435 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.995e-05/0.7164, allocations: 33.7 kB / 0.7435 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.7164, allocations: 0 / 0.7435 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.7165, allocations: 0 / 0.7435 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.7165, allocations: 7.953 kB / 0.7435 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.7168, allocations: 221.5 kB / 0.7437 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.717, allocations: 50.62 kB / 0.7438 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.7171, allocations: 20.86 kB / 0.7438 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.7171, allocations: 3.984 kB / 0.7438 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.7172, allocations: 30.56 kB / 0.7438 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.7172, allocations: 0 / 0.7438 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.000148/0.7173, allocations: 45.78 kB / 0.7439 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.7174, allocations: 59.36 kB / 0.7439 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.018e-05/0.7174, allocations: 92.92 kB / 0.744 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.7175, allocations: 29.7 kB / 0.7441 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.7175, allocations: 92.05 kB / 0.7442 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.7175, allocations: 3.906 kB / 0.7442 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.7176, allocations: 0 / 0.7442 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7177, allocations: 318.8 kB / 0.7445 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.7177, allocations: 11.94 kB / 0.7445 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.7178, allocations: 21.7 kB / 0.7445 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/0.7178, allocations: 4.234 kB / 0.7445 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7178, allocations: 4 kB / 0.7445 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000105/0.7179, allocations: 57.58 kB / 0.7446 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7179, allocations: 8 kB / 0.7446 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.718, allocations: 128 / 0.7446 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.718, allocations: 4 kB / 0.7446 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.718, allocations: 11.94 kB / 0.7446 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.7181, allocations: 0 / 0.7446 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.7181, allocations: 3.953 kB / 0.7446 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.7181, allocations: 4 kB / 0.7446 GB, free: 7.371 MB / 0.5261 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.29e-05/0.7182, allocations: 109 kB / 0.7447 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.7182, allocations: 0 / 0.7447 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.7184, allocations: 61.8 kB / 0.7447 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7184, allocations: 0 / 0.7447 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7184, allocations: 0 / 0.7447 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.7184, allocations: 0 / 0.7447 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.7186, allocations: 146 kB / 0.7449 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7186, allocations: 0 / 0.7449 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.7186, allocations: 11.94 kB / 0.7449 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/0.7187, allocations: 7.938 kB / 0.7449 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.7187, allocations: 3.984 kB / 0.7449 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7187, allocations: 0 / 0.7449 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.7187, allocations: 0 / 0.7449 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.7188, allocations: 143.5 kB / 0.745 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.7189, allocations: 77.11 kB / 0.7451 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.7189, allocations: 4 kB / 0.7451 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.719, allocations: 0 / 0.7451 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.719, allocations: 4 kB / 0.7451 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.719, allocations: 0 / 0.7451 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.7191, allocations: 87.27 kB / 0.7452 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7191, allocations: 0 / 0.7452 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003/0.7194, allocations: 20 kB / 0.7452 GB, free: 6.621 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000254/0.7197, allocations: 132.7 kB / 0.7454 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.766e-05/0.7198, allocations: 16 kB / 0.7454 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7198, allocations: 0 / 0.7454 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.557e-05/0.7198, allocations: 20.05 kB / 0.7454 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.72, allocations: 3.953 kB / 0.7454 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.7202, allocations: 59.94 kB / 0.7455 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.7205, allocations: 0.6807 MB / 0.7461 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.508e-05/0.7206, allocations: 0 / 0.7461 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.7206, allocations: 15.44 kB / 0.7461 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of SimCode: time 3.3e-07/0.7206, allocations: 4 kB / 0.7461 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of Templates: time 0.00251/0.7232, allocations: 482.8 kB / 0.7466 GB, free: 5.172 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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 & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)