Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Boundary",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.005193/0.005193, allocations: 99.62 kB / 15.73 MB, free: 6.445 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.00117/0.001171, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.737/0.737, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.19 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.6132/0.7628, allocations: 253.3 MB / 0.9065 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02598/0.7888, allocations: 20.59 MB / 0.9267 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.7919, allocations: 80.12 kB / 0.9267 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.7945, allocations: 0.8386 MB / 0.9275 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007943/0.8025, allocations: 3.039 MB / 0.9305 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00672/0.8092, allocations: 2.79 MB / 0.9332 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005262/0.8145, allocations: 3.839 MB / 0.937 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.8163, allocations: 1.292 MB / 0.9382 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.8192, allocations: 1.457 MB / 0.9397 GB, free: 14.83 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.8206, allocations: 0.9928 MB / 0.9406 GB, free: 14.32 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.8208, allocations: 108.2 kB / 0.9407 GB, free: 14.32 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007834/0.8286, allocations: 3.961 MB / 0.9446 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006552/0.8293, allocations: 0.6521 MB / 0.9452 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.8304, allocations: 0.9728 MB / 0.9462 GB, free: 9.273 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006716/0.8371, allocations: 4.217 MB / 0.9503 GB, free: 5.25 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8371, allocations: 4 kB / 0.9503 GB, free: 5.246 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8372, allocations: 0 / 0.9503 GB, free: 5.246 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.8372, allocations: 4 kB / 0.9503 GB, free: 5.242 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002925/0.8401, allocations: 2.375 MB / 0.9526 GB, free: 2.836 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.8402, allocations: 12.03 kB / 0.9527 GB, free: 2.824 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.8404, allocations: 194 kB / 0.9528 GB, free: 2.625 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.8424, allocations: 495.3 kB / 0.9533 GB, free: 2.145 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.8445, allocations: 1.385 MB / 0.9547 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.8446, allocations: 102.4 kB / 0.9548 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.8447, allocations: 123.9 kB / 0.9549 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.8469, allocations: 1.725 MB / 0.9566 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.847, allocations: 0 / 0.9566 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.994e-05/0.8471, allocations: 55.94 kB / 0.9566 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/0.8471, allocations: 71.67 kB / 0.9567 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.8487, allocations: 1.218 MB / 0.9579 GB, free: 13.32 MB / 0.6856 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.007042/0.8558, allocations: 7.544 MB / 0.9652 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.8566, allocations: 0.6647 MB / 0.9659 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.8573, allocations: 0.6213 MB / 0.9665 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.8587, allocations: 1.873 MB / 0.9683 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.8587, allocations: 54.5 kB / 0.9684 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.685e-06/0.8587, allocations: 0 / 0.9684 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.002365/0.8611, allocations: 1.391 MB / 0.9697 GB, free: 328 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.8613, allocations: 306.6 kB / 0.97 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.8637, allocations: 1.888 MB / 0.9719 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.8639, allocations: 45.7 kB / 0.9719 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006663/0.8645, allocations: 0.7332 MB / 0.9726 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.8648, allocations: 253.8 kB / 0.9729 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.865, allocations: 134.3 kB / 0.973 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8651, allocations: 330 kB / 0.9733 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.8655, allocations: 329.1 kB / 0.9736 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.8661, allocations: 0.5625 MB / 0.9742 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/0.867, allocations: 0.8683 MB / 0.975 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.867, allocations: 0 / 0.975 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001453/0.8685, allocations: 1.019 MB / 0.976 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.8685, allocations: 9.719 kB / 0.976 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8685, allocations: 0 / 0.976 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.8686, allocations: 8 kB / 0.976 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.869, allocations: 124.3 kB / 0.9762 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.869, allocations: 8 kB / 0.9762 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.8698, allocations: 138.9 kB / 0.9763 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/0.8699, allocations: 47.98 kB / 0.9763 GB, free: 9.316 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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 0.0006328/0.8705, allocations: 454.2 kB / 0.9768 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.8709, allocations: 194.7 kB / 0.977 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.8724, allocations: 1.091 MB / 0.978 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.8724, allocations: 12 kB / 0.978 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8724, allocations: 0 / 0.978 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.8724, allocations: 15.92 kB / 0.9781 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.8828, allocations: 8.757 MB / 0.9866 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.8828, allocations: 13.12 kB / 0.9866 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.8833, allocations: 147.8 kB / 0.9868 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.967e-05/0.8833, allocations: 31.88 kB / 0.9868 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.8834, allocations: 39.98 kB / 0.9868 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.806e-05/0.8834, allocations: 23.94 kB / 0.9869 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/0.8834, allocations: 23.88 kB / 0.9869 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.8851, allocations: 1.676 MB / 0.9885 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007408/0.8859, allocations: 435.4 kB / 0.9889 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.8861, allocations: 31.98 kB / 0.989 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.8867, allocations: 31.94 kB / 0.989 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.8868, allocations: 99.55 kB / 0.9891 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/0.8869, allocations: 59.98 kB / 0.9891 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001585/0.8885, allocations: 1.316 MB / 0.9904 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8885, allocations: 0 / 0.9904 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001571/0.8901, allocations: 0.5184 MB / 0.9909 GB, free: 9.602 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003752/0.8938, allocations: 3.015 MB / 0.9939 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.8951, allocations: 0.8534 MB / 0.9947 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.8951, allocations: 256 / 0.9947 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.8957, allocations: 490.8 kB / 0.9952 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005662/0.9013, allocations: 1.344 MB / 0.9965 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.9181, allocations: 13.9 MB / 1.01 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.9192, allocations: 1.406 MB / 1.011 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001607/0.9208, allocations: 490.6 kB / 1.012 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008885/0.9217, allocations: 0.6555 MB / 1.013 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of SimCode: time 1.352e-06/0.9217, allocations: 0 / 1.013 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09281/1.015, allocations: 60.05 MB / 1.071 GB, free: 7.051 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/12.06, allocations: 7.75 kB / 1.071 GB, free: 7.047 MB / 0.795 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Validation.Boundary_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Sources_Validation_Boundary.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe 2>&1)