Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.004758/0.004758, allocations: 97.12 kB / 15.73 MB, free: 5.949 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.001418/0.001418, allocations: 192.8 kB / 16.67 MB, free: 5.871 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 292.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9194/0.9194, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002709, allocations: 95.86 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3595, allocations: 86.98 MB / 0.7659 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002207/0.3618, allocations: 1.28 MB / 0.7672 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000975/0.3628, allocations: 0.6049 MB / 0.7677 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.3628, allocations: 0 / 0.7677 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.3628, allocations: 4 kB / 0.7677 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.3629, allocations: 7.922 kB / 0.7678 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.3633, allocations: 145.4 kB / 0.7679 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.797e-05/0.3634, allocations: 11.94 kB / 0.7679 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.3635, allocations: 7.984 kB / 0.7679 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.3635, allocations: 4 kB / 0.7679 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.3635, allocations: 7.938 kB / 0.7679 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.3635, allocations: 4 kB / 0.7679 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.364, allocations: 347.3 kB / 0.7683 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.3641, allocations: 7.984 kB / 0.7683 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.3641, allocations: 7.938 kB / 0.7683 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3643, allocations: 156.6 kB / 0.7684 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3643, allocations: 0 / 0.7684 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3644, allocations: 0 / 0.7684 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.3644, allocations: 0 / 0.7684 GB, free: 1.223 MB / 0.5294 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.0004288/0.3648, allocations: 363.1 kB / 0.7688 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.3648, allocations: 8.031 kB / 0.7688 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.3649, allocations: 34.75 kB / 0.7688 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.893e-05/0.3649, allocations: 4.938 kB / 0.7688 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.365, allocations: 164.3 kB / 0.769 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.365, allocations: 8.312 kB / 0.769 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.3651, allocations: 4.375 kB / 0.769 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.45e-05/0.3652, allocations: 42.25 kB / 0.769 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3652, allocations: 3.938 kB / 0.769 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.3652, allocations: 0 / 0.769 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.3652, allocations: 0 / 0.769 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.3652, allocations: 15.98 kB / 0.769 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.3656, allocations: 252.9 kB / 0.7693 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3658, allocations: 54.56 kB / 0.7693 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.3658, allocations: 20.84 kB / 0.7694 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3658, allocations: 3.938 kB / 0.7694 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3659, allocations: 34.56 kB / 0.7694 GB, free: 56 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3659, allocations: 4 kB / 0.7694 GB, free: 52 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001745/0.366, allocations: 53.77 kB / 0.7695 GB, free: 15.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3661, allocations: 51.41 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.3662, allocations: 101.8 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3662, allocations: 29.7 kB / 0.7696 GB, free: 15.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.3662, allocations: 84.14 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.3663, allocations: 7.906 kB / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3663, allocations: 21.66 kB / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3664, allocations: 318.8 kB / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.3665, allocations: 12 kB / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.3665, allocations: 17.72 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.3666, allocations: 30.08 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3666, allocations: 3.938 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.226e-05/0.3667, allocations: 65.56 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.3667, allocations: 12.03 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.3667, allocations: 0 / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.3667, allocations: 0 / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.379e-05/0.3668, allocations: 8 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3668, allocations: 0 / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.3668, allocations: 3.938 kB / 0.7702 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.3668, allocations: 4 kB / 0.7702 GB, free: 15.17 MB / 0.545 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 8.209e-05/0.3669, allocations: 120.1 kB / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3669, allocations: 4.125 kB / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.3671, allocations: 65.17 kB / 0.7704 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3671, allocations: 4 kB / 0.7704 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3671, allocations: 0 / 0.7704 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3671, allocations: 0 / 0.7704 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.3673, allocations: 161.6 kB / 0.7705 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3673, allocations: 0 / 0.7705 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.3673, allocations: 8 kB / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3673, allocations: 0 / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.3673, allocations: 0 / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.3673, allocations: 3.984 kB / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3674, allocations: 7.938 kB / 0.7705 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.3675, allocations: 151.4 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.3675, allocations: 81.11 kB / 0.7708 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.3675, allocations: 0 / 0.7708 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.3676, allocations: 0 / 0.7708 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.3676, allocations: 4 kB / 0.7708 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3676, allocations: 7.938 kB / 0.7708 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.3677, allocations: 79.27 kB / 0.7709 GB, free: 14.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3677, allocations: 4 kB / 0.7709 GB, free: 14.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003281/0.368, allocations: 19.94 kB / 0.7709 GB, free: 14.36 MB / 0.545 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.000481/0.3685, allocations: 0.7083 MB / 0.7716 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.046e-05/0.3686, allocations: 19.98 kB / 0.7716 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3686, allocations: 4.062 kB / 0.7716 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.3686, allocations: 11.94 kB / 0.7716 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.3689, allocations: 8.938 kB / 0.7716 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.3694, allocations: 148.7 kB / 0.7718 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3697, allocations: 0.6768 MB / 0.7724 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.3697, allocations: 8 kB / 0.7724 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.3697, allocations: 11.44 kB / 0.7724 GB, free: 12.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.3698, allocations: 4 kB / 0.7724 GB, free: 12.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.061/2.431, allocations: 1.403 MB / 0.7738 GB, free: 11.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/13.77, allocations: 12.17 kB / 0.7738 GB, free: 11.41 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)