Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerComparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerComparison",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.00151/0.00151, allocations: 108 kB / 15.61 MB, free: 152 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.001549/0.001548, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.369/1.369, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002386/0.002386, allocations: 282.7 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 99.48 kB / 0.6066 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1594, allocations: 89.15 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005387/0.1648, allocations: 3.745 MB / 0.6973 GB, free: 472 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007662/0.1725, allocations: 4.88 MB / 0.702 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.173, allocations: 15.94 kB / 0.702 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009485/0.1825, allocations: 5.664 MB / 0.7076 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.1844, allocations: 0.7708 MB / 0.7083 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.1863, allocations: 0.8526 MB / 0.7092 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01649/0.2028, allocations: 10.03 MB / 0.719 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.2031, allocations: 97.75 kB / 0.7191 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.2041, allocations: 0.549 MB / 0.7196 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007961/0.2049, allocations: 0.5837 MB / 0.7202 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.2051, allocations: 72 kB / 0.7202 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.2074, allocations: 1.4 MB / 0.7216 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006957/0.2081, allocations: 0.8025 MB / 0.7224 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008427/0.209, allocations: 0.8586 MB / 0.7232 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.2127, allocations: 3.049 MB / 0.7262 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2128, allocations: 3.938 kB / 0.7262 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2128, allocations: 0 / 0.7262 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.582e-05/0.2128, allocations: 0 / 0.7262 GB, free: 2.828 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.004227/0.2171, allocations: 2.286 MB / 0.7284 GB, free: 492 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2171, allocations: 12.03 kB / 0.7284 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.27e-05/0.2172, allocations: 54.48 kB / 0.7285 GB, free: 416 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.2198, allocations: 489.4 kB / 0.729 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008947/0.2288, allocations: 5.493 MB / 0.7343 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.2288, allocations: 24.33 kB / 0.7343 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.2289, allocations: 35.98 kB / 0.7344 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.2303, allocations: 0.6534 MB / 0.735 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2303, allocations: 0 / 0.735 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.2304, allocations: 8 kB / 0.735 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2304, allocations: 4 kB / 0.735 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.2319, allocations: 0.5308 MB / 0.7355 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.2359, allocations: 2.327 MB / 0.7378 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.2376, allocations: 0.7013 MB / 0.7385 GB, free: 6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007415/0.2384, allocations: 284.6 kB / 0.7388 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.2384, allocations: 3.984 kB / 0.7388 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2384, allocations: 38.56 kB / 0.7388 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.2384, allocations: 0 / 0.7388 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21): time 0.00273/0.2412, allocations: 1.024 MB / 0.7398 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.2412, allocations: 55.41 kB / 0.7399 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/0.2452, allocations: 2.955 MB / 0.7428 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.2453, allocations: 33.7 kB / 0.7428 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006337/0.2459, allocations: 0.6682 MB / 0.7434 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2461, allocations: 82.97 kB / 0.7435 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005204/0.2466, allocations: 394.4 kB / 0.7439 GB, free: 408 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2467, allocations: 309.1 kB / 0.7442 GB, free: 96 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.2485, allocations: 1.178 MB / 0.7453 GB, free: 14.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.2506, allocations: 1.535 MB / 0.7468 GB, free: 13.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.2542, allocations: 2.478 MB / 0.7493 GB, free: 10.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2543, allocations: 0 / 0.7493 GB, free: 10.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.004623/0.2589, allocations: 2.937 MB / 0.7521 GB, free: 7.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2589, allocations: 8 kB / 0.7521 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.2589, allocations: 8 kB / 0.7521 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.259, allocations: 12 kB / 0.7522 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.2601, allocations: 283.6 kB / 0.7524 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.2601, allocations: 19.92 kB / 0.7524 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.2616, allocations: 226.2 kB / 0.7527 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.2618, allocations: 83.98 kB / 0.7527 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002241/0.264, allocations: 1.483 MB / 0.7542 GB, free: 5.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001922/0.2659, allocations: 1.394 MB / 0.7556 GB, free: 4.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003229/0.2692, allocations: 2.161 MB / 0.7577 GB, free: 1.859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.015e-06/0.2692, allocations: 7.938 kB / 0.7577 GB, free: 1.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.2869/0.5561, allocations: 2.622 MB / 0.7602 GB, free: 64.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5561, allocations: 10.03 kB / 0.7602 GB, free: 64.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.5562, allocations: 8.469 kB / 0.7602 GB, free: 64.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5562, allocations: 12.38 kB / 0.7603 GB, free: 64.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.5573, allocations: 275.2 kB / 0.7605 GB, free: 64.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.5573, allocations: 18.25 kB / 0.7605 GB, free: 64.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.5591, allocations: 191.8 kB / 0.7607 GB, free: 64.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.5592, allocations: 74.47 kB / 0.7608 GB, free: 64.64 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (140): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0002611/0.5595, allocations: 236.2 kB / 0.761 GB, free: 64.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.5598, allocations: 171.7 kB / 0.7612 GB, free: 64.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.5619, allocations: 0.8032 MB / 0.762 GB, free: 64.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.562, allocations: 3.25 kB / 0.762 GB, free: 64.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.562, allocations: 0 / 0.762 GB, free: 64.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.562, allocations: 1.734 kB / 0.762 GB, free: 64.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.5634, allocations: 1.09 MB / 0.763 GB, free: 64.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5634, allocations: 1.125 kB / 0.763 GB, free: 64.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.5639, allocations: 85.58 kB / 0.7631 GB, free: 64.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5639, allocations: 1.719 kB / 0.7631 GB, free: 64.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.5639, allocations: 11.14 kB / 0.7631 GB, free: 64.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.564, allocations: 1.328 kB / 0.7631 GB, free: 64.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.564, allocations: 0.7188 kB / 0.7631 GB, free: 64.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.5657, allocations: 0.8712 MB / 0.764 GB, free: 63.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/0.5662, allocations: 369 kB / 0.7643 GB, free: 63.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.5664, allocations: 8.812 kB / 0.7643 GB, free: 63.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/0.5673, allocations: 91.14 kB / 0.7644 GB, free: 63.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.5674, allocations: 16.09 kB / 0.7644 GB, free: 63.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.5674, allocations: 19.05 kB / 0.7645 GB, free: 63.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002596/0.57, allocations: 2.03 MB / 0.7664 GB, free: 63.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.57, allocations: 3.828 kB / 0.7664 GB, free: 63.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002227/0.5723, allocations: 0.8098 MB / 0.7672 GB, free: 63.21 MB / 0.545 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 (23): * Single equations (assignments): 23 * 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.002934/0.5752, allocations: 1.774 MB / 0.769 GB, free: 62.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004666/0.5799, allocations: 3.032 MB / 0.7719 GB, free: 61.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.5799, allocations: 0 / 0.7719 GB, free: 61.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.5806, allocations: 296.4 kB / 0.7722 GB, free: 61.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.5835, allocations: 0.8677 MB / 0.7731 GB, free: 61.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02937/0.6129, allocations: 21.35 MB / 0.7939 GB, free: 51.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.6137, allocations: 1.418 MB / 0.7953 GB, free: 50.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001814/0.6156, allocations: 0.518 MB / 0.7958 GB, free: 50.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/0.6163, allocations: 0.6606 MB / 0.7965 GB, free: 49.96 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.6163, allocations: 0 / 0.7965 GB, free: 49.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08337/0.6997, allocations: 58.15 MB / 0.8532 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.732/9.431, allocations: 3.953 kB / 0.8532 GB, free: 10.61 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerComparison.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1)