Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001219, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7102/0.7102, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 400.4 MB, free: 5.805 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 96 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.254e-05, allocations: 6.859 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1535, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5571/0.7107, allocations: 113 MB / 0.7509 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.7109, allocations: 76.73 kB / 0.7509 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01462/0.7255, allocations: 5.403 MB / 0.7562 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7256, allocations: 3.906 kB / 0.7562 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7256, allocations: 0 / 0.7562 GB, free: 27.27 MB / 0.5105 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.0003979/0.726, allocations: 358.3 kB / 0.7565 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.726, allocations: 11.88 kB / 0.7566 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.7261, allocations: 34.38 kB / 0.7566 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.7261, allocations: 11.45 kB / 0.7566 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.7262, allocations: 159.1 kB / 0.7568 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.7263, allocations: 4 kB / 0.7568 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.7263, allocations: 3.875 kB / 0.7568 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.7264, allocations: 45 kB / 0.7568 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7264, allocations: 3.938 kB / 0.7568 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.7264, allocations: 3.938 kB / 0.7568 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.7264, allocations: 0 / 0.7568 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.606e-05/0.7265, allocations: 23.42 kB / 0.7568 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.7268, allocations: 254.5 kB / 0.7571 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.727, allocations: 43.61 kB / 0.7571 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.727, allocations: 20.34 kB / 0.7571 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.7271, allocations: 0 / 0.7571 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.7271, allocations: 41.84 kB / 0.7572 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.7271, allocations: 0 / 0.7572 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001433/0.7272, allocations: 47.14 kB / 0.7572 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.7273, allocations: 55.31 kB / 0.7573 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.7273, allocations: 90.44 kB / 0.7574 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.7274, allocations: 30.23 kB / 0.7574 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.7274, allocations: 84.92 kB / 0.7575 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.7274, allocations: 9.562 kB / 0.7575 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.7274, allocations: 4.938 kB / 0.7575 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7276, allocations: 319.6 kB / 0.7578 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.7276, allocations: 9.969 kB / 0.7578 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.7276, allocations: 20.5 kB / 0.7578 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.7277, allocations: 5.828 kB / 0.7578 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7277, allocations: 0 / 0.7578 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.543e-05/0.7278, allocations: 58.08 kB / 0.7579 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.7278, allocations: 11.88 kB / 0.7579 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.7278, allocations: 0 / 0.7579 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7278, allocations: 3.656 kB / 0.7579 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.494e-05/0.7279, allocations: 7.703 kB / 0.7579 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7279, allocations: 7.922 kB / 0.7579 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.7279, allocations: 1.062 kB / 0.7579 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.7279, allocations: 0 / 0.7579 GB, free: 25.52 MB / 0.5105 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 6.632e-05/0.728, allocations: 107.1 kB / 0.758 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.728, allocations: 0 / 0.758 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.7282, allocations: 68.83 kB / 0.7581 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7282, allocations: 0 / 0.7581 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7282, allocations: 0 / 0.7581 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7282, allocations: 7.828 kB / 0.7581 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.7283, allocations: 163.8 kB / 0.7582 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.7283, allocations: 3.938 kB / 0.7582 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.7284, allocations: 7.5 kB / 0.7583 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7284, allocations: 0 / 0.7583 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.7284, allocations: 0 / 0.7583 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.7284, allocations: 0 / 0.7583 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7284, allocations: 7.938 kB / 0.7583 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.7285, allocations: 146.8 kB / 0.7584 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.7286, allocations: 84.94 kB / 0.7585 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.7286, allocations: 4 kB / 0.7585 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.7287, allocations: 0 / 0.7585 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.7287, allocations: 3.938 kB / 0.7585 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.7287, allocations: 3.844 kB / 0.7585 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.213e-05/0.7287, allocations: 79.28 kB / 0.7586 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7287, allocations: 0 / 0.7586 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002483/0.729, allocations: 22.62 kB / 0.7586 GB, free: 24.82 MB / 0.5105 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.0004608/0.7295, allocations: 0.7059 MB / 0.7593 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.976e-05/0.7295, allocations: 26.55 kB / 0.7593 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7296, allocations: 4.062 kB / 0.7593 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.7296, allocations: 11.73 kB / 0.7593 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.7297, allocations: 11.16 kB / 0.7593 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.7301, allocations: 106.1 kB / 0.7594 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.7303, allocations: 0.6847 MB / 0.7601 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.7304, allocations: 4 kB / 0.7601 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.7304, allocations: 18.97 kB / 0.7601 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.7304, allocations: 0 / 0.7601 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5056/1.236, allocations: 1.169 MB / 0.7613 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01452/1.251, allocations: 167.3 kB / 0.7614 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/3.058, allocations: 0 / 0.7614 GB, free: 22.53 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)