Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7264/0.7264, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001694/0.001694, allocations: 188.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.1 MB / 404.5 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 91.06 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.724e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1645, allocations: 76.76 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5312/0.6957, allocations: 103 MB / 0.7288 GB, free: 10.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.696, allocations: 84.88 kB / 0.7289 GB, free: 10.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006963/0.7029, allocations: 2.407 MB / 0.7312 GB, free: 8.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.703, allocations: 0 / 0.7312 GB, free: 8.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.703, allocations: 0 / 0.7312 GB, free: 8.32 MB / 490.7 MB 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.0003355/0.7033, allocations: 337.4 kB / 0.7315 GB, free: 7.949 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.7034, allocations: 8.031 kB / 0.7316 GB, free: 7.941 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.7034, allocations: 30.56 kB / 0.7316 GB, free: 7.902 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.7035, allocations: 3.953 kB / 0.7316 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.7036, allocations: 167.1 kB / 0.7317 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.7036, allocations: 3.625 kB / 0.7318 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.7036, allocations: 0 / 0.7318 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.7041, allocations: 62.53 kB / 0.7318 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.7041, allocations: 3.938 kB / 0.7318 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.7041, allocations: 0 / 0.7318 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.7041, allocations: 7.953 kB / 0.7318 GB, free: 7.617 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.7044, allocations: 39.77 kB / 0.7319 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.7046, allocations: 149.2 kB / 0.732 GB, free: 7.391 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.7049, allocations: 62.12 kB / 0.7321 GB, free: 7.324 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.705, allocations: 8.922 kB / 0.7321 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.7052, allocations: 93.09 kB / 0.7322 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.7052, allocations: 30.56 kB / 0.7322 GB, free: 7.164 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.575e-06/0.7052, allocations: 4 kB / 0.7322 GB, free: 7.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006462/0.7059, allocations: 105.3 kB / 0.7323 GB, free: 7.055 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.7059, allocations: 51.44 kB / 0.7323 GB, free: 6.992 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.706, allocations: 96.95 kB / 0.7324 GB, free: 6.891 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.706, allocations: 29.64 kB / 0.7325 GB, free: 6.859 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.7061, allocations: 80.14 kB / 0.7325 GB, free: 6.777 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.7061, allocations: 4.688 kB / 0.7325 GB, free: 6.773 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.7061, allocations: 0 / 0.7325 GB, free: 6.773 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7062, allocations: 314.8 kB / 0.7328 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.7063, allocations: 7.75 kB / 0.7329 GB, free: 6.453 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.7063, allocations: 8.125 kB / 0.7329 GB, free: 6.445 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.7063, allocations: 4 kB / 0.7329 GB, free: 6.441 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7063, allocations: 0 / 0.7329 GB, free: 6.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.177e-05/0.7064, allocations: 49.38 kB / 0.7329 GB, free: 6.391 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.7064, allocations: 4 kB / 0.7329 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7065, allocations: 4 kB / 0.7329 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7065, allocations: 0 / 0.7329 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.7077, allocations: 138.8 kB / 0.7331 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.71, allocations: 1.416 MB / 0.7344 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.7101, allocations: 7.984 kB / 0.7344 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.7101, allocations: 3.984 kB / 0.7344 GB, free: 4.715 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.7102, allocations: 109.3 kB / 0.7345 GB, free: 4.605 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.7102, allocations: 3.906 kB / 0.7346 GB, free: 4.602 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-06/0.7102, allocations: 3.125 kB / 0.7346 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.7102, allocations: 3.984 kB / 0.7346 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.7102, allocations: 4.062 kB / 0.7346 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.7102, allocations: 0 / 0.7346 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.7104, allocations: 157.4 kB / 0.7347 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7104, allocations: 0 / 0.7347 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.7116, allocations: 143.8 kB / 0.7349 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.7116, allocations: 0 / 0.7349 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.7116, allocations: 7.938 kB / 0.7349 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.7138, allocations: 1.411 MB / 0.7362 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7138, allocations: 4 kB / 0.7362 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.728e-05/0.7139, allocations: 68.92 kB / 0.7363 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.714, allocations: 77.11 kB / 0.7364 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.714, allocations: 4 kB / 0.7364 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.7141, allocations: 7.984 kB / 0.7364 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.7141, allocations: 8.031 kB / 0.7364 GB, free: 2.523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.7141, allocations: 3.188 kB / 0.7364 GB, free: 2.523 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.684e-05/0.7142, allocations: 79.28 kB / 0.7365 GB, free: 2.445 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7142, allocations: 0 / 0.7365 GB, free: 2.445 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001902/0.7144, allocations: 8 kB / 0.7365 GB, free: 2.438 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004642/0.7149, allocations: 0.6163 MB / 0.7371 GB, free: 1.801 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.7159, allocations: 135.1 kB / 0.7372 GB, free: 1.672 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.716, allocations: 0 / 0.7372 GB, free: 1.672 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.717, allocations: 139.5 kB / 0.7373 GB, free: 1.539 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.7171, allocations: 2.484 kB / 0.7374 GB, free: 1.539 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.7182, allocations: 187.1 kB / 0.7375 GB, free: 1.324 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.7185, allocations: 0.677 MB / 0.7382 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.792e-05/0.7185, allocations: 4 kB / 0.7382 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.7186, allocations: 7.438 kB / 0.7382 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/0.7186, allocations: 0 / 0.7382 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.7318, allocations: 1.175 MB / 0.7393 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.7321, allocations: 220.2 kB / 0.7396 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.274, allocations: 8.984 kB / 0.7396 GB, free: 15.44 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)