Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.005361/0.005361, allocations: 101 kB / 15.73 MB, free: 6.059 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.001247/0.001247, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 285.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9361/0.9361, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 91.84 kB / 0.681 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3546, allocations: 86.98 MB / 0.7659 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002078/0.3567, allocations: 1.24 MB / 0.7671 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009252/0.3576, allocations: 0.5895 MB / 0.7677 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.3577, allocations: 0 / 0.7677 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.3577, allocations: 0 / 0.7677 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.44e-05/0.3577, allocations: 7.938 kB / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.3582, allocations: 139.4 kB / 0.7678 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.483e-05/0.3583, allocations: 15.86 kB / 0.7678 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.3583, allocations: 3.984 kB / 0.7679 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.3583, allocations: 4 kB / 0.7679 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.3584, allocations: 4 kB / 0.7679 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.3584, allocations: 0 / 0.7679 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.3589, allocations: 343.3 kB / 0.7682 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.884e-06/0.3589, allocations: 4 kB / 0.7682 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.3589, allocations: 11.94 kB / 0.7682 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3592, allocations: 140.7 kB / 0.7683 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3592, allocations: 0 / 0.7683 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3592, allocations: 0 / 0.7683 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.3592, allocations: 3.938 kB / 0.7683 GB, free: 1.406 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003888/0.3596, allocations: 355.1 kB / 0.7687 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3596, allocations: 12.02 kB / 0.7687 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.3597, allocations: 30.75 kB / 0.7687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.3597, allocations: 8.938 kB / 0.7687 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3598, allocations: 164.3 kB / 0.7689 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.3598, allocations: 384 / 0.7689 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.3599, allocations: 4.375 kB / 0.7689 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.704e-05/0.3599, allocations: 30.27 kB / 0.7689 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3599, allocations: 3.938 kB / 0.7689 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.36, allocations: 0 / 0.7689 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.36, allocations: 3.984 kB / 0.7689 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.36, allocations: 4 kB / 0.7689 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.3602, allocations: 157.7 kB / 0.7691 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.3602, allocations: 26.53 kB / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.3602, allocations: 12.92 kB / 0.7691 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3603, allocations: 0 / 0.7691 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3603, allocations: 30.56 kB / 0.7691 GB, free: 416 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.3603, allocations: 0 / 0.7691 GB, free: 416 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001362/0.3604, allocations: 49.64 kB / 0.7692 GB, free: 360 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3605, allocations: 51.41 kB / 0.7692 GB, free: 296 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.3605, allocations: 93.84 kB / 0.7693 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3606, allocations: 29.7 kB / 0.7694 GB, free: 156 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.3606, allocations: 84.08 kB / 0.7694 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.3606, allocations: 3.953 kB / 0.7694 GB, free: 64 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.3607, allocations: 17.72 kB / 0.7695 GB, free: 40 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3608, allocations: 311.1 kB / 0.7698 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.3608, allocations: 4 kB / 0.7698 GB, free: 15.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.3608, allocations: 7.984 kB / 0.7698 GB, free: 15.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.3609, allocations: 12.86 kB / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3609, allocations: 3.938 kB / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.554e-05/0.361, allocations: 37.64 kB / 0.7698 GB, free: 15.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.361, allocations: 11.94 kB / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.361, allocations: 0 / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.361, allocations: 0 / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3611, allocations: 20.02 kB / 0.7699 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003953/0.3615, allocations: 0.586 MB / 0.7704 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.3616, allocations: 0 / 0.7704 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.3616, allocations: 0 / 0.7704 GB, free: 15.01 MB / 0.545 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.085e-05/0.3617, allocations: 116.2 kB / 0.7705 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.3617, allocations: 4.078 kB / 0.7705 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.27e-05/0.3618, allocations: 48.77 kB / 0.7706 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3618, allocations: 0 / 0.7706 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3618, allocations: 0 / 0.7706 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.3618, allocations: 0 / 0.7706 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3619, allocations: 161.6 kB / 0.7707 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3619, allocations: 0 / 0.7707 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.362, allocations: 11.98 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.362, allocations: 0 / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.362, allocations: 0 / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000324/0.3624, allocations: 0.5822 MB / 0.7713 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.3624, allocations: 7.969 kB / 0.7713 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.009e-05/0.3625, allocations: 69.02 kB / 0.7714 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.3625, allocations: 77.11 kB / 0.7715 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.3625, allocations: 128 / 0.7715 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.538e-05/0.3625, allocations: 4 kB / 0.7715 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3626, allocations: 11.92 kB / 0.7715 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3626, allocations: 4 kB / 0.7715 GB, free: 13.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.3626, allocations: 75.28 kB / 0.7716 GB, free: 13.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3626, allocations: 0 / 0.7716 GB, free: 13.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002533/0.3629, allocations: 19.92 kB / 0.7716 GB, free: 13.71 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 (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.0004056/0.3633, allocations: 0.6152 MB / 0.7722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.3634, allocations: 15.98 kB / 0.7722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3635, allocations: 0 / 0.7722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.3635, allocations: 19.92 kB / 0.7722 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.3637, allocations: 11.88 kB / 0.7722 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.3641, allocations: 131.9 kB / 0.7723 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3644, allocations: 0.6843 MB / 0.773 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.271e-05/0.3645, allocations: 0 / 0.773 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.3645, allocations: 11.44 kB / 0.773 GB, free: 12.12 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.3645, allocations: 0 / 0.773 GB, free: 12.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.494/3.859, allocations: 1.396 MB / 0.7744 GB, free: 10.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/17.49, allocations: 4.5 kB / 0.7744 GB, free: 10.96 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)