Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_CheckValve",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.001006/0.001006, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001181/0.001181, allocations: 168.7 kB / 15.95 MB, free: 204 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.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.631/2.631, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000535/0.0005351, allocations: 8 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8447/0.8453, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01885/0.8641, allocations: 19.03 MB / 0.9997 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006565/0.8708, allocations: 4.646 MB / 1.004 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004959/0.8713, allocations: 15.88 kB / 1.004 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0006605/0.872, allocations: 190.7 kB / 1.004 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.8735, allocations: 0.6489 MB / 1.005 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.8751, allocations: 0.6011 MB / 1.006 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00166/0.8768, allocations: 1.55 MB / 1.007 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004971/0.8773, allocations: 341 kB / 1.008 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007691/0.8781, allocations: 0.5057 MB / 1.008 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005211/0.8786, allocations: 430.2 kB / 1.008 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.8787, allocations: 20 kB / 1.008 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000955/0.8797, allocations: 0.5262 MB / 1.009 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.8798, allocations: 99.56 kB / 1.009 GB, free: 9.625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.8799, allocations: 129.4 kB / 1.009 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.8805, allocations: 0.5573 MB / 1.01 GB, free: 8.934 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8806, allocations: 0 / 1.01 GB, free: 8.934 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8806, allocations: 0 / 1.01 GB, free: 8.934 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.8806, allocations: 0 / 1.01 GB, free: 8.934 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001341/0.8819, allocations: 0.8369 MB / 1.011 GB, free: 8.047 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.882, allocations: 8.031 kB / 1.011 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.086e-05/0.8821, allocations: 70.53 kB / 1.011 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.8822, allocations: 67.25 kB / 1.011 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.8827, allocations: 431 kB / 1.011 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.8828, allocations: 28.66 kB / 1.011 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.8828, allocations: 32 kB / 1.011 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.8835, allocations: 318 kB / 1.011 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.8835, allocations: 0 / 1.011 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.8835, allocations: 19.95 kB / 1.011 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.8835, allocations: 4 kB / 1.011 GB, free: 7.035 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/0.8842, allocations: 282.4 kB / 1.012 GB, free: 6.758 MB / 0.7637 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.002023/0.8862, allocations: 1.349 MB / 1.013 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.8867, allocations: 262.4 kB / 1.013 GB, free: 5.023 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.887, allocations: 150.3 kB / 1.013 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.8875, allocations: 0.4986 MB / 1.014 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.8875, allocations: 34.52 kB / 1.014 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.8875, allocations: 3.938 kB / 1.014 GB, free: 4.219 MB / 0.7637 GB Notification: Performance of matching and sorting (n=25): time 0.001575/0.8891, allocations: 0.5905 MB / 1.015 GB, free: 3.602 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.8892, allocations: 59.39 kB / 1.015 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.8897, allocations: 458.1 kB / 1.015 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.8897, allocations: 37.7 kB / 1.015 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.8899, allocations: 240.5 kB / 1.015 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.89, allocations: 90.73 kB / 1.015 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.89, allocations: 4 kB / 1.015 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8902, allocations: 354.8 kB / 1.016 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.8904, allocations: 119.9 kB / 1.016 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.8908, allocations: 193 kB / 1.016 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.8911, allocations: 145.6 kB / 1.016 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8911, allocations: 0 / 1.016 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009075/0.892, allocations: 437.2 kB / 1.017 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.8921, allocations: 106.7 kB / 1.017 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8921, allocations: 0 / 1.017 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.8925, allocations: 52.81 kB / 1.017 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.8928, allocations: 79.89 kB / 1.017 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004441/0.8933, allocations: 0.5601 MB / 1.017 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.8938, allocations: 71.69 kB / 1.017 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.8938, allocations: 15.98 kB / 1.017 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.8938, allocations: 4 kB / 1.017 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006769/0.8945, allocations: 315.7 kB / 1.018 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-06/0.8945, allocations: 3.938 kB / 1.018 GB, free: 208 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-06/0.8945, allocations: 0 / 1.018 GB, free: 208 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.8949, allocations: 87.89 kB / 1.018 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.8949, allocations: 4 kB / 1.018 GB, free: 116 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.8953, allocations: 67.62 kB / 1.018 GB, free: 48 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.8953, allocations: 20 kB / 1.018 GB, free: 28 kB / 0.7637 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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.8956, allocations: 245 kB / 1.018 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.54e-05/0.8957, allocations: 55.3 kB / 1.018 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009249/0.8967, allocations: 432.5 kB / 1.019 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.8967, allocations: 0 / 1.019 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8967, allocations: 4 kB / 1.019 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8967, allocations: 144 / 1.019 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.8982, allocations: 0.9786 MB / 1.02 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.8982, allocations: 0 / 1.02 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.8985, allocations: 51.91 kB / 1.02 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/0.8986, allocations: 40.83 kB / 1.02 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.8986, allocations: 8 kB / 1.02 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003941/0.899, allocations: 0.5642 MB / 1.02 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8991, allocations: 0 / 1.02 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007906/0.8999, allocations: 0.5068 MB / 1.021 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.9, allocations: 156.3 kB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.9001, allocations: 8 kB / 1.021 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.9004, allocations: 47.89 kB / 1.021 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.9005, allocations: 23.92 kB / 1.021 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.9006, allocations: 15.94 kB / 1.021 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003515/0.9009, allocations: 318.9 kB / 1.021 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9009, allocations: 3.938 kB / 1.021 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000735/0.9017, allocations: 251.5 kB / 1.022 GB, free: 12.18 MB / 0.7794 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001481/0.9032, allocations: 1.184 MB / 1.023 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.9043, allocations: 488.5 kB / 1.023 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.9044, allocations: 0 / 1.023 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.9048, allocations: 180 kB / 1.023 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.9062, allocations: 263.1 kB / 1.024 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.911, allocations: 2.698 MB / 1.026 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.9115, allocations: 0.8513 MB / 1.027 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005121/0.912, allocations: 116.2 kB / 1.027 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.9123, allocations: 179.4 kB / 1.027 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of SimCode: time 1.012e-06/0.9123, allocations: 0 / 1.027 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.9437, allocations: 14.43 MB / 1.041 GB, free: 8.047 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.944, allocations: 267 kB / 1.042 GB, free: 7.684 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.235, allocations: 0 / 1.042 GB, free: 7.684 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat does not exist to compare? outputFormat=mat