Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_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_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.005947/0.005947, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001266/0.001266, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8505/0.8505, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 62.69 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002165/0.1348, allocations: 1.226 MB / 0.6604 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009625/0.1358, allocations: 0.5943 MB / 0.661 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.1358, allocations: 0 / 0.661 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.1358, allocations: 3.938 kB / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.25e-05/0.1359, allocations: 8 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.1364, allocations: 143.4 kB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.1364, allocations: 11.94 kB / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1365, allocations: 3.984 kB / 0.6611 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.1365, allocations: 4 kB / 0.6611 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.1365, allocations: 3.938 kB / 0.6611 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1366, allocations: 4 kB / 0.6611 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000567/0.1371, allocations: 343.3 kB / 0.6615 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.1372, allocations: 7.938 kB / 0.6615 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.1372, allocations: 8 kB / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1374, allocations: 131.9 kB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1375, allocations: 4 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1375, allocations: 0 / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.1375, allocations: 0 / 0.6616 GB, free: 8.273 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.0004052/0.1379, allocations: 355.1 kB / 0.662 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1379, allocations: 8.031 kB / 0.662 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.138, allocations: 34.69 kB / 0.662 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.076e-05/0.138, allocations: 4.891 kB / 0.662 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1381, allocations: 176.4 kB / 0.6622 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1381, allocations: 384 / 0.6622 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1382, allocations: 4.125 kB / 0.6622 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.1383, allocations: 37.69 kB / 0.6622 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1383, allocations: 0 / 0.6622 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.1383, allocations: 0 / 0.6622 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1383, allocations: 0 / 0.6622 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.1383, allocations: 4 kB / 0.6622 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.1385, allocations: 153.7 kB / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.1385, allocations: 26.5 kB / 0.6624 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.1386, allocations: 16.86 kB / 0.6624 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1386, allocations: 0 / 0.6624 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1386, allocations: 34.56 kB / 0.6624 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.615e-06/0.1386, allocations: 0 / 0.6624 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000128/0.1388, allocations: 41.58 kB / 0.6625 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1388, allocations: 59.53 kB / 0.6625 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.1389, allocations: 97.84 kB / 0.6626 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1389, allocations: 25.7 kB / 0.6627 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.139, allocations: 84.14 kB / 0.6627 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.139, allocations: 3.953 kB / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.139, allocations: 13.72 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1392, allocations: 314.8 kB / 0.663 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.1392, allocations: 8.109 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-06/0.1392, allocations: 4 kB / 0.6631 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/0.1392, allocations: 12.86 kB / 0.6631 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1392, allocations: 0 / 0.6631 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.937e-05/0.1393, allocations: 41.58 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1393, allocations: 5.875 kB / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1393, allocations: 4 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1393, allocations: 0 / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1395, allocations: 11.98 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003926/0.1399, allocations: 0.59 MB / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.1399, allocations: 3.953 kB / 0.6637 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1399, allocations: 3.938 kB / 0.6637 GB, free: 5.871 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 8.214e-05/0.14, allocations: 110.7 kB / 0.6638 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.14, allocations: 4.031 kB / 0.6638 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.923e-05/0.1401, allocations: 48.86 kB / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1402, allocations: 0 / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1402, allocations: 0 / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1402, allocations: 3.984 kB / 0.6639 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1403, allocations: 153.6 kB / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1403, allocations: 0 / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.1404, allocations: 11.98 kB / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1404, allocations: 0 / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.1404, allocations: 0 / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003565/0.1408, allocations: 0.5938 MB / 0.6646 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1408, allocations: 0 / 0.6646 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.547e-05/0.1409, allocations: 65.16 kB / 0.6647 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.1409, allocations: 81.05 kB / 0.6648 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1409, allocations: 3.938 kB / 0.6648 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.1409, allocations: 8.062 kB / 0.6648 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.141, allocations: 0 / 0.6648 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.141, allocations: 4 kB / 0.6648 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.141, allocations: 79.27 kB / 0.6648 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.141, allocations: 0 / 0.6648 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001912/0.1412, allocations: 8 kB / 0.6649 GB, free: 4.578 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.00044/0.1417, allocations: 0.6202 MB / 0.6655 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1418, allocations: 15.98 kB / 0.6655 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1418, allocations: 0 / 0.6655 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/0.1419, allocations: 19.98 kB / 0.6655 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1421, allocations: 0 / 0.6655 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.1425, allocations: 143.7 kB / 0.6656 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1428, allocations: 0.6768 MB / 0.6663 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.273e-05/0.1428, allocations: 0 / 0.6663 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.1428, allocations: 7.438 kB / 0.6663 GB, free: 3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1428, allocations: 0 / 0.6663 GB, free: 3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3904/0.5332, allocations: 1.385 MB / 0.6676 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.35, allocations: 23.17 kB / 0.6677 GB, free: 1.812 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)