Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7451 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 69.14 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3104, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002353/0.3128, allocations: 1.247 MB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3139, allocations: 0.5937 MB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.3139, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.314, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.314, allocations: 3.938 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.3146, allocations: 135.5 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.881e-05/0.3146, allocations: 7.938 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.3147, allocations: 11.98 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.3147, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.215e-05/0.3147, allocations: 15.91 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.3148, allocations: 3.938 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.3152, allocations: 339.3 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.3153, allocations: 4 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.3153, allocations: 7.922 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.3156, allocations: 140 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3156, allocations: 4 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3156, allocations: 0 / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3156, allocations: 0 / 1.071 GB, free: 7.887 MB / 0.8262 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.0004448/0.3161, allocations: 347.5 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3161, allocations: 12.03 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.3161, allocations: 0.9375 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.3162, allocations: 168.3 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3163, allocations: 4.375 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3163, allocations: 4.375 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.3164, allocations: 34.2 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3164, allocations: 4.125 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3164, allocations: 7.938 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3164, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.457e-05/0.3165, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.3166, allocations: 153.7 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.866e-05/0.3167, allocations: 18.61 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.3167, allocations: 20.92 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3167, allocations: 0 / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.3168, allocations: 38.48 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3168, allocations: 4 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.3169, allocations: 41.64 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.3169, allocations: 51.41 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.317, allocations: 97.98 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.317, allocations: 25.7 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.3171, allocations: 84.12 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3171, allocations: 3.906 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.3171, allocations: 17.72 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.3172, allocations: 310.8 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.3173, allocations: 4 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-06/0.3173, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.3173, allocations: 20.98 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3173, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.918e-05/0.3174, allocations: 41.69 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3174, allocations: 4 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3174, allocations: 3.938 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3174, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.3176, allocations: 11.98 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003852/0.318, allocations: 0.5938 MB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.318, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.318, allocations: 4.031 kB / 1.073 GB, free: 5.535 MB / 0.8262 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 7.231e-05/0.3181, allocations: 109.8 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.3181, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.3182, allocations: 44.81 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3182, allocations: 0 / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3183, allocations: 8.125 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3183, allocations: 4 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.826e-05/0.3184, allocations: 157.5 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3184, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.828e-05/0.3185, allocations: 11.94 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3185, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3185, allocations: 7.984 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000296/0.3188, allocations: 0.582 MB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3188, allocations: 8.031 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.738e-05/0.3189, allocations: 57.17 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3189, allocations: 81.09 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.319, allocations: 7.938 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.319, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.319, allocations: 3.938 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.319, allocations: 0 / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.319, allocations: 87.31 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.319, allocations: 0 / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001952/0.3192, allocations: 4 kB / 1.074 GB, free: 4.246 MB / 0.8262 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.0001792/0.3194, allocations: 115.7 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.3196, allocations: 19.98 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3196, allocations: 0 / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.3197, allocations: 20.14 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.3199, allocations: 8.5 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.3204, allocations: 109.9 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3207, allocations: 0.6729 MB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.928e-05/0.3208, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.3208, allocations: 11.5 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3208, allocations: 0 / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.00326/0.3241, allocations: 462.5 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)