Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007952/0.0007952, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008717/0.0008717, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8601/0.8601, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00153/0.00153, allocations: 230.4 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6612/0.6612, allocations: 138.4 MB / 454.3 MB, free: 29.95 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.942e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3594/0.3594, allocations: 147.6 MB / 0.7904 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3615, allocations: 1.485 MB / 0.7919 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.3617, allocations: 15.88 kB / 0.7919 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.3621, allocations: 162.7 kB / 0.7921 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.3632, allocations: 0.7268 MB / 0.7928 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.3642, allocations: 0.6649 MB / 0.7934 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006144/0.3649, allocations: 0.7292 MB / 0.7941 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.3651, allocations: 177.3 kB / 0.7943 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.3657, allocations: 458.6 kB / 0.7947 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.3659, allocations: 203.4 kB / 0.7949 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.3659, allocations: 24 kB / 0.795 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008568/0.3667, allocations: 0.728 MB / 0.7957 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.3668, allocations: 115.6 kB / 0.7958 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.487e-05/0.3669, allocations: 123.7 kB / 0.7959 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007686/0.3677, allocations: 0.7479 MB / 0.7966 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3677, allocations: 0 / 0.7966 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3677, allocations: 0 / 0.7966 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3677, allocations: 0 / 0.7966 GB, free: 1.02 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006632/0.3684, allocations: 0.5919 MB / 0.7972 GB, free: 408 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3684, allocations: 13.94 kB / 0.7972 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.3685, allocations: 58.53 kB / 0.7973 GB, free: 328 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.369, allocations: 160.2 kB / 0.7974 GB, free: 168 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.3694, allocations: 268.5 kB / 0.7977 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3695, allocations: 16.5 kB / 0.7977 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.3695, allocations: 20 kB / 0.7977 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.3698, allocations: 289 kB / 0.798 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3698, allocations: 4 kB / 0.798 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3698, allocations: 8 kB / 0.798 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3698, allocations: 8.656 kB / 0.798 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.3701, allocations: 200.9 kB / 0.7982 GB, free: 15.33 MB / 0.6355 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.001132/0.3712, allocations: 0.9882 MB / 0.7992 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.3714, allocations: 142.4 kB / 0.7993 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3715, allocations: 92.73 kB / 0.7994 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.3718, allocations: 82.59 kB / 0.7995 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3718, allocations: 34.56 kB / 0.7995 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.3718, allocations: 3.844 kB / 0.7995 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0004642/0.3722, allocations: 292.8 kB / 0.7998 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3723, allocations: 59.25 kB / 0.7998 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.3725, allocations: 320.5 kB / 0.8002 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3725, allocations: 33.7 kB / 0.8002 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.3726, allocations: 184.2 kB / 0.8004 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.3726, allocations: 63.48 kB / 0.8004 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.3727, allocations: 47.89 kB / 0.8005 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.3728, allocations: 342.8 kB / 0.8008 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-05/0.3729, allocations: 67.95 kB / 0.8009 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.373, allocations: 200.8 kB / 0.801 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.3732, allocations: 206.5 kB / 0.8012 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3732, allocations: 0 / 0.8012 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000276/0.3735, allocations: 249.9 kB / 0.8015 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3735, allocations: 4.625 kB / 0.8015 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3735, allocations: 0 / 0.8015 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3735, allocations: 13.41 kB / 0.8015 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3736, allocations: 47.97 kB / 0.8015 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3736, allocations: 0 / 0.8015 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/0.3737, allocations: 35.77 kB / 0.8016 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3738, allocations: 8 kB / 0.8016 GB, free: 11.69 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/0.3738, allocations: 151.1 kB / 0.8017 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.3739, allocations: 31.75 kB / 0.8018 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.3742, allocations: 240 kB / 0.802 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3742, allocations: 4 kB / 0.802 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3742, allocations: 0 / 0.802 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3742, allocations: 0 / 0.802 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/0.3748, allocations: 0.6477 MB / 0.8026 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3748, allocations: 4.031 kB / 0.8026 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.919e-05/0.3749, allocations: 39.91 kB / 0.8027 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3749, allocations: 4 kB / 0.8027 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3749, allocations: 8 kB / 0.8027 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3749, allocations: 0 / 0.8027 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3749, allocations: 11.88 kB / 0.8027 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.3753, allocations: 452.6 kB / 0.8031 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.3753, allocations: 51.77 kB / 0.8032 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3754, allocations: 11.98 kB / 0.8032 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.3755, allocations: 9.062 kB / 0.8032 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.3755, allocations: 23.91 kB / 0.8032 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.3755, allocations: 4 kB / 0.8032 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001473/0.3756, allocations: 235 kB / 0.8034 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3757, allocations: 0 / 0.8034 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002535/0.3759, allocations: 75.94 kB / 0.8035 GB, free: 9.598 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006869/0.3766, allocations: 1.044 MB / 0.8045 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.3769, allocations: 174.2 kB / 0.8047 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3769, allocations: 4.188 kB / 0.8047 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.377, allocations: 87.83 kB / 0.8048 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.3775, allocations: 165.3 kB / 0.8049 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.3802, allocations: 2.982 MB / 0.8079 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.3803, allocations: 171.8 kB / 0.808 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.3804, allocations: 63.8 kB / 0.8081 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.3805, allocations: 96.47 kB / 0.8082 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.3805, allocations: 0 / 0.8082 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.4061, allocations: 10.29 MB / 0.8182 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.336, allocations: 7.891 kB / 0.8182 GB, free: 10.71 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.936726439744234] Failed to read output from testmodel.py, exit status != 0: 7.420768037438393 7.429302739 7.059784786 Calling exit ...