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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.23 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9737/0.9737, allocations: 175.7 MB / 480.1 MB, free: 2.863 MB / 366.1 MB " [Timeout remaining time 179] 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.2 kB / 0.6678 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1518, allocations: 94.53 MB / 0.7601 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002458/0.1543, allocations: 1.288 MB / 0.7613 GB, free: 15.57 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.1552, allocations: 0.5938 MB / 0.7619 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1552, allocations: 0 / 0.7619 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.1552, allocations: 0 / 0.7619 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.1553, allocations: 15.91 kB / 0.7619 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1557, allocations: 135.4 kB / 0.762 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.1558, allocations: 23.88 kB / 0.7621 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.1558, allocations: 3.984 kB / 0.7621 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.1558, allocations: 7.984 kB / 0.7621 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.1559, allocations: 7.938 kB / 0.7621 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1559, allocations: 0 / 0.7621 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.1564, allocations: 343.3 kB / 0.7624 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.1564, allocations: 15.97 kB / 0.7624 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.1565, allocations: 7.938 kB / 0.7624 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1567, allocations: 139.9 kB / 0.7626 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1567, allocations: 3.938 kB / 0.7626 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1567, allocations: 0 / 0.7626 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.1567, allocations: 0 / 0.7626 GB, free: 14.29 MB / 0.5763 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.000422/0.1571, allocations: 371 kB / 0.7629 GB, free: 13.88 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1572, allocations: 8.031 kB / 0.7629 GB, free: 13.87 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.1572, allocations: 42.69 kB / 0.763 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.885e-05/0.1572, allocations: 0.9375 kB / 0.763 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1573, allocations: 168.4 kB / 0.7631 GB, free: 13.61 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.1573, allocations: 8.312 kB / 0.7631 GB, free: 13.61 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1574, allocations: 4.125 kB / 0.7631 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.1575, allocations: 41.69 kB / 0.7632 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1575, allocations: 0 / 0.7632 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.1575, allocations: 0 / 0.7632 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1575, allocations: 0 / 0.7632 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.649e-05/0.1575, allocations: 15.98 kB / 0.7632 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.1578, allocations: 256.8 kB / 0.7634 GB, free: 13.24 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.158, allocations: 50.62 kB / 0.7635 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.158, allocations: 20.84 kB / 0.7635 GB, free: 13.16 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.158, allocations: 0 / 0.7635 GB, free: 13.16 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1581, allocations: 30.56 kB / 0.7635 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.1581, allocations: 0 / 0.7635 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of matching and sorting (n=4): time 0.0001599/0.1582, allocations: 61.69 kB / 0.7636 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1583, allocations: 55.34 kB / 0.7637 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.1583, allocations: 94.05 kB / 0.7637 GB, free: 12.88 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1584, allocations: 33.69 kB / 0.7638 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.1584, allocations: 84.12 kB / 0.7639 GB, free: 12.76 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1584, allocations: 15.84 kB / 0.7639 GB, free: 12.74 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.1584, allocations: 17.72 kB / 0.7639 GB, free: 12.72 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1586, allocations: 318.8 kB / 0.7642 GB, free: 12.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.1586, allocations: 12 kB / 0.7642 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/0.1586, allocations: 21.66 kB / 0.7642 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.1587, allocations: 33.88 kB / 0.7643 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1587, allocations: 0 / 0.7643 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.332e-05/0.1588, allocations: 65.58 kB / 0.7643 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1588, allocations: 4 kB / 0.7643 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1588, allocations: 0 / 0.7643 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1588, allocations: 8.031 kB / 0.7643 GB, free: 12.24 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.188e-05/0.1588, allocations: 4 kB / 0.7643 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1588, allocations: 4 kB / 0.7643 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.1589, allocations: 0 / 0.7643 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1589, allocations: 0 / 0.7643 GB, free: 12.23 MB / 0.5763 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 () * 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 7.091e-05/0.1589, allocations: 121.7 kB / 0.7645 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.159, allocations: 0 / 0.7645 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.1591, allocations: 65.16 kB / 0.7645 GB, free: 12.03 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1591, allocations: 4 kB / 0.7645 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1591, allocations: 0 / 0.7645 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1591, allocations: 0 / 0.7645 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.1592, allocations: 165.5 kB / 0.7647 GB, free: 11.81 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1592, allocations: 4.125 kB / 0.7647 GB, free: 11.81 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.1593, allocations: 4 kB / 0.7647 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1593, allocations: 0 / 0.7647 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1593, allocations: 4 kB / 0.7647 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1593, allocations: 7.922 kB / 0.7647 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1593, allocations: 0 / 0.7647 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.1594, allocations: 155.4 kB / 0.7648 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.1595, allocations: 77.11 kB / 0.7649 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.1595, allocations: 0 / 0.7649 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.1595, allocations: 0 / 0.7649 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.1595, allocations: 4 kB / 0.7649 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1595, allocations: 0 / 0.7649 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.1596, allocations: 87.27 kB / 0.765 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.1596, allocations: 0 / 0.765 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002257/0.1598, allocations: 23.88 kB / 0.765 GB, free: 11.42 MB / 0.5763 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 (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 0.0004495/0.1602, allocations: 0.6967 MB / 0.7657 GB, free: 10.69 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 8.671e-05/0.1603, allocations: 24.25 kB / 0.7657 GB, free: 10.67 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1603, allocations: 4 kB / 0.7657 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.1603, allocations: 11.94 kB / 0.7658 GB, free: 10.65 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.1605, allocations: 9.969 kB / 0.7658 GB, free: 10.64 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.1609, allocations: 160.1 kB / 0.7659 GB, free: 10.45 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1612, allocations: 0.6884 MB / 0.7666 GB, free: 9.73 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.1612, allocations: 0 / 0.7666 GB, free: 9.73 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.1613, allocations: 15.44 kB / 0.7666 GB, free: 9.715 MB / 0.5763 GB Notification: Performance of SimCode: time 3.01e-07/0.1613, allocations: 0 / 0.7666 GB, free: 9.715 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.184, allocations: 1.364 MB / 0.7679 GB, free: 8.441 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/7.322, allocations: 16.78 kB / 0.7679 GB, free: 8.426 MB / 0.5763 GB " [Timeout remaining time 653] (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/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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.699346648994833]