Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.004481/0.004481, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001293/0.001294, allocations: 198.6 kB / 16.68 MB, free: 5.973 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9256/0.9256, allocations: 135.6 MB / 426.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.88 kB / 0.5858 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3431, allocations: 81.02 MB / 0.6649 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001769/0.3449, allocations: 1.246 MB / 0.6661 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.3457, allocations: 0.5933 MB / 0.6667 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.853e-05/0.3457, allocations: 0 / 0.6667 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.3457, allocations: 0 / 0.6667 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.715e-05/0.3458, allocations: 1.281 kB / 0.6667 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.3462, allocations: 139.2 kB / 0.6668 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.066e-05/0.3462, allocations: 8.938 kB / 0.6668 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.453e-05/0.3463, allocations: 1.188 kB / 0.6668 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.706e-05/0.3463, allocations: 14.44 kB / 0.6668 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.3464, allocations: 6.938 kB / 0.6668 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3464, allocations: 0 / 0.6668 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.3468, allocations: 340.4 kB / 0.6672 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.3468, allocations: 5.156 kB / 0.6672 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.3468, allocations: 6.422 kB / 0.6672 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3471, allocations: 143.5 kB / 0.6673 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3471, allocations: 0 / 0.6673 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3471, allocations: 0 / 0.6673 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3471, allocations: 1.188 kB / 0.6673 GB, free: 4.992 MB / 0.4981 GB 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.0002613/0.3474, allocations: 351.5 kB / 0.6676 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3474, allocations: 9.406 kB / 0.6677 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.316e-05/0.3474, allocations: 30.75 kB / 0.6677 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.99e-05/0.3474, allocations: 6.312 kB / 0.6677 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.229e-05/0.3475, allocations: 173.7 kB / 0.6679 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.3475, allocations: 384 / 0.6679 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.3475, allocations: 9.516 kB / 0.6679 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.803e-05/0.3476, allocations: 32.2 kB / 0.6679 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.3476, allocations: 4 kB / 0.6679 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.3476, allocations: 1.094 kB / 0.6679 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3476, allocations: 3.938 kB / 0.6679 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.3477, allocations: 2.656 kB / 0.6679 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.506e-05/0.3478, allocations: 153.6 kB / 0.6681 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.796e-05/0.3478, allocations: 22.83 kB / 0.6681 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.3478, allocations: 12.42 kB / 0.6681 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3479, allocations: 3.984 kB / 0.6681 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.3479, allocations: 39.81 kB / 0.6681 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3479, allocations: 3.938 kB / 0.6681 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001074/0.348, allocations: 39.67 kB / 0.6682 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.348, allocations: 51.41 kB / 0.6682 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.933e-05/0.3481, allocations: 96.34 kB / 0.6683 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.3481, allocations: 26.8 kB / 0.6683 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.125e-05/0.3481, allocations: 84.39 kB / 0.6684 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.3481, allocations: 9.266 kB / 0.6684 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.3482, allocations: 12.38 kB / 0.6684 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.3482, allocations: 312.1 kB / 0.6687 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.3482, allocations: 1.375 kB / 0.6687 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.3482, allocations: 3.25 kB / 0.6687 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.3482, allocations: 20.44 kB / 0.6688 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3483, allocations: 0 / 0.6688 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.964e-05/0.3483, allocations: 47.08 kB / 0.6688 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3483, allocations: 4.844 kB / 0.6688 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.3483, allocations: 0 / 0.6688 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3483, allocations: 1.031 kB / 0.6688 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3485, allocations: 11.77 kB / 0.6688 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002021/0.3487, allocations: 0.5821 MB / 0.6694 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.3487, allocations: 1.125 kB / 0.6694 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3487, allocations: 9.344 kB / 0.6694 GB, free: 2.703 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 3.944e-05/0.3488, allocations: 107.6 kB / 0.6695 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.3488, allocations: 3.953 kB / 0.6695 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.089e-05/0.3489, allocations: 45.03 kB / 0.6695 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3489, allocations: 1.312 kB / 0.6695 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3489, allocations: 0 / 0.6695 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3489, allocations: 0 / 0.6695 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.901e-05/0.3489, allocations: 160.8 kB / 0.6697 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.349, allocations: 0 / 0.6697 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.349, allocations: 15.77 kB / 0.6697 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.349, allocations: 5.344 kB / 0.6697 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.349, allocations: 0 / 0.6697 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000151/0.3492, allocations: 0.5829 MB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3492, allocations: 0 / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.113e-05/0.3493, allocations: 71.56 kB / 0.6704 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.3493, allocations: 77.11 kB / 0.6704 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.3493, allocations: 5.094 kB / 0.6704 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.3493, allocations: 3.938 kB / 0.6704 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.3493, allocations: 1.625 kB / 0.6704 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.3493, allocations: 0 / 0.6704 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.534e-05/0.3494, allocations: 81.84 kB / 0.6705 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3494, allocations: 4.125 kB / 0.6705 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001901/0.3496, allocations: 14.94 kB / 0.6705 GB, free: 1.461 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.0002219/0.3498, allocations: 0.6181 MB / 0.6711 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.3499, allocations: 25.39 kB / 0.6712 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.35, allocations: 4.062 kB / 0.6712 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.35, allocations: 13.95 kB / 0.6712 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.3502, allocations: 2.906 kB / 0.6712 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.3505, allocations: 133.8 kB / 0.6713 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.916e-05/0.3506, allocations: 0.6715 MB / 0.672 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.68e-05/0.3506, allocations: 5.219 kB / 0.672 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.3507, allocations: 7.438 kB / 0.672 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.3507, allocations: 1.312 kB / 0.672 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/0.4898, allocations: 1.375 MB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.49, allocations: 1.219 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)