Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.0008636/0.0008637, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009695/0.000969, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.133/1.133, allocations: 143.4 MB / 434.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 11.98 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.234, allocations: 83.42 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.4873/0.7214, allocations: 14.2 MB / 0.6114 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008543/0.73, allocations: 4.057 MB / 0.6154 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009859/0.731, allocations: 16.06 kB / 0.6154 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.7322, allocations: 196.5 kB / 0.6156 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.7341, allocations: 0.4912 MB / 0.6161 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.7362, allocations: 0.5977 MB / 0.6166 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.7376, allocations: 1.119 MB / 0.6177 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.7381, allocations: 264.7 kB / 0.618 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006299/0.7387, allocations: 361.2 kB / 0.6183 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.7392, allocations: 307.4 kB / 0.6186 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.7392, allocations: 14.69 kB / 0.6186 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.7404, allocations: 0.5433 MB / 0.6192 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.7405, allocations: 79.02 kB / 0.6192 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.998e-05/0.7406, allocations: 103.8 kB / 0.6193 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.7412, allocations: 0.5447 MB / 0.6199 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7413, allocations: 6.156 kB / 0.6199 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7413, allocations: 0 / 0.6199 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.7413, allocations: 0 / 0.6199 GB, free: 33.55 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001061/0.7423, allocations: 0.75 MB / 0.6206 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7424, allocations: 8.531 kB / 0.6206 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.785e-05/0.7425, allocations: 66.48 kB / 0.6207 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.7426, allocations: 53.84 kB / 0.6207 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.7431, allocations: 395 kB / 0.6211 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.7431, allocations: 19.97 kB / 0.6211 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.7432, allocations: 29.47 kB / 0.6212 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.7436, allocations: 210.8 kB / 0.6214 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.7436, allocations: 6.891 kB / 0.6214 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.7436, allocations: 8 kB / 0.6214 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.7436, allocations: 5.75 kB / 0.6214 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.744, allocations: 180.4 kB / 0.6216 GB, free: 32.4 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.7454, allocations: 0.9501 MB / 0.6225 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.7457, allocations: 138.8 kB / 0.6226 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.7459, allocations: 83.19 kB / 0.6227 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.7461, allocations: 334.6 kB / 0.623 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.7461, allocations: 33.62 kB / 0.623 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.595e-06/0.7461, allocations: 0 / 0.623 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.00056/0.7467, allocations: 255.9 kB / 0.6233 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.7467, allocations: 54.31 kB / 0.6233 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.7472, allocations: 479.5 kB / 0.6238 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.7473, allocations: 28.3 kB / 0.6238 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.7474, allocations: 233.3 kB / 0.624 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.7475, allocations: 47.84 kB / 0.6241 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.7475, allocations: 4 kB / 0.6241 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7476, allocations: 351.2 kB / 0.6244 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.7478, allocations: 72.11 kB / 0.6245 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.748, allocations: 153.7 kB / 0.6246 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.7482, allocations: 89.42 kB / 0.6247 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7483, allocations: 0 / 0.6247 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004811/0.7487, allocations: 257.4 kB / 0.625 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.7488, allocations: 108.4 kB / 0.6251 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.7488, allocations: 3.938 kB / 0.6251 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.7489, allocations: 6.297 kB / 0.6251 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.7491, allocations: 52.81 kB / 0.6251 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.7491, allocations: 0 / 0.6251 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.7495, allocations: 51.31 kB / 0.6252 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.7495, allocations: 15.3 kB / 0.6252 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.7495, allocations: 4.281 kB / 0.6252 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003767/0.7499, allocations: 188.1 kB / 0.6254 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.7499, allocations: 0 / 0.6254 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.7499, allocations: 2.906 kB / 0.6254 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.7501, allocations: 45.8 kB / 0.6254 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.7501, allocations: 2.625 kB / 0.6254 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.7504, allocations: 50.78 kB / 0.6255 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.7504, allocations: 11.67 kB / 0.6255 GB, free: 29.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.7506, allocations: 241 kB / 0.6257 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.7507, allocations: 42.34 kB / 0.6258 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.7513, allocations: 259 kB / 0.626 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.7514, allocations: 2.531 kB / 0.626 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7514, allocations: 0 / 0.626 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.7514, allocations: 6 kB / 0.626 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.7524, allocations: 0.7165 MB / 0.6267 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7524, allocations: 0 / 0.6267 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.7525, allocations: 41.5 kB / 0.6268 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.7526, allocations: 0 / 0.6268 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.7526, allocations: 6.844 kB / 0.6268 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.7526, allocations: 3.281 kB / 0.6268 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7526, allocations: 0 / 0.6268 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.753, allocations: 360.2 kB / 0.6271 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.7532, allocations: 148.8 kB / 0.6273 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.7532, allocations: 7.031 kB / 0.6273 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.7535, allocations: 21.97 kB / 0.6273 GB, free: 28.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.7535, allocations: 20.09 kB / 0.6273 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.7536, allocations: 8.859 kB / 0.6273 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003604/0.7539, allocations: 332.3 kB / 0.6276 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7539, allocations: 0 / 0.6276 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007162/0.7547, allocations: 200.1 kB / 0.6278 GB, free: 28.36 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/0.7565, allocations: 1.265 MB / 0.6291 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006441/0.7571, allocations: 279 kB / 0.6293 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7572, allocations: 0 / 0.6293 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.7574, allocations: 86.78 kB / 0.6294 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.7586, allocations: 228.7 kB / 0.6296 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.7624, allocations: 2.274 MB / 0.6318 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.7628, allocations: 0.8296 MB / 0.6327 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000418/0.7632, allocations: 86.55 kB / 0.6327 GB, free: 25.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.7634, allocations: 146.4 kB / 0.6329 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.7634, allocations: 0 / 0.6329 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/0.803, allocations: 12.36 MB / 0.6449 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.8033, allocations: 248.3 kB / 0.6452 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.165, allocations: 1.094 kB / 0.6452 GB, free: 24.05 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: