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.004681/0.004681, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.00123/0.001231, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7917/0.7917, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001799, allocations: 63.98 kB / 0.5809 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.5847/0.7258, allocations: 253.3 MB / 0.9066 GB, free: 8.797 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02712/0.753, allocations: 20.58 MB / 0.9267 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.7555, allocations: 79.44 kB / 0.9267 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.7577, allocations: 0.8298 MB / 0.9275 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007446/0.7652, allocations: 2.915 MB / 0.9304 GB, free: 324 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006673/0.772, allocations: 2.747 MB / 0.9331 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005649/0.7776, allocations: 3.827 MB / 0.9368 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.7797, allocations: 1.303 MB / 0.9381 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.7832, allocations: 1.429 MB / 0.9395 GB, free: 7 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.7848, allocations: 0.9876 MB / 0.9404 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.7851, allocations: 108 kB / 0.9405 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008873/0.7939, allocations: 3.951 MB / 0.9444 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007823/0.7948, allocations: 0.6465 MB / 0.945 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.796, allocations: 0.9795 MB / 0.946 GB, free: 316 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007264/0.8033, allocations: 4.217 MB / 0.9501 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8033, allocations: 4 kB / 0.9501 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8033, allocations: 0 / 0.9501 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.8034, allocations: 0 / 0.9501 GB, free: 12.07 MB / 0.7169 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.00332/0.8067, allocations: 2.375 MB / 0.9524 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.8068, allocations: 8.031 kB / 0.9524 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002218/0.807, allocations: 198 kB / 0.9526 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.8091, allocations: 0.4904 MB / 0.9531 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.8113, allocations: 1.381 MB / 0.9544 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/0.8113, allocations: 98.44 kB / 0.9545 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.8115, allocations: 128 kB / 0.9547 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.814, allocations: 1.719 MB / 0.9563 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.814, allocations: 4 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.8141, allocations: 51.94 kB / 0.9564 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.196e-05/0.8142, allocations: 71.67 kB / 0.9565 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.816, allocations: 1.221 MB / 0.9577 GB, free: 4.074 MB / 0.7169 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.007781/0.8238, allocations: 7.535 MB / 0.965 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.8248, allocations: 0.6648 MB / 0.9657 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.8256, allocations: 0.6216 MB / 0.9663 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001868/0.8275, allocations: 1.871 MB / 0.9681 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.8276, allocations: 58.48 kB / 0.9682 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 4.619e-06/0.8276, allocations: 0 / 0.9682 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.002562/0.8302, allocations: 1.394 MB / 0.9695 GB, free: 7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/0.8304, allocations: 302.7 kB / 0.9698 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.833, allocations: 1.888 MB / 0.9717 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.8331, allocations: 45.7 kB / 0.9717 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007509/0.8338, allocations: 0.741 MB / 0.9724 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.8341, allocations: 249.8 kB / 0.9727 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.8343, allocations: 134.3 kB / 0.9728 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8345, allocations: 326 kB / 0.9731 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.8349, allocations: 337.6 kB / 0.9734 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.8357, allocations: 0.5611 MB / 0.974 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.8368, allocations: 0.8649 MB / 0.9748 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8369, allocations: 4 kB / 0.9748 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00157/0.8384, allocations: 1.019 MB / 0.9758 GB, free: 328 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.8385, allocations: 8 kB / 0.9758 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8385, allocations: 4 kB / 0.9758 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.8385, allocations: 4 kB / 0.9758 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.839, allocations: 127.8 kB / 0.9759 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.839, allocations: 4 kB / 0.976 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/0.8397, allocations: 138.9 kB / 0.9761 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.8398, allocations: 44.03 kB / 0.9761 GB, free: 15.99 MB / 0.7481 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.0006875/0.8405, allocations: 454.4 kB / 0.9766 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.8409, allocations: 202.7 kB / 0.9768 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.8427, allocations: 1.087 MB / 0.9778 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.8427, allocations: 15.98 kB / 0.9778 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.8427, allocations: 4 kB / 0.9778 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.8427, allocations: 12.2 kB / 0.9778 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.8547, allocations: 8.757 MB / 0.9864 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/0.8548, allocations: 16 kB / 0.9864 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.8552, allocations: 139.8 kB / 0.9865 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.477e-05/0.8553, allocations: 31.91 kB / 0.9866 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/0.8553, allocations: 39.98 kB / 0.9866 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.408e-05/0.8554, allocations: 27.92 kB / 0.9866 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-05/0.8554, allocations: 27.88 kB / 0.9867 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.8575, allocations: 1.669 MB / 0.9883 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007047/0.8582, allocations: 435.4 kB / 0.9887 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.8584, allocations: 31.98 kB / 0.9887 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.859, allocations: 31.94 kB / 0.9888 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.8592, allocations: 99.55 kB / 0.9889 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.174e-05/0.8592, allocations: 63.98 kB / 0.9889 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001835/0.8611, allocations: 1.316 MB / 0.9902 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.994e-06/0.8611, allocations: 0 / 0.9902 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001646/0.8628, allocations: 0.5184 MB / 0.9907 GB, free: 276 kB / 0.7481 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.004287/0.867, allocations: 3.015 MB / 0.9937 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.8684, allocations: 0.8457 MB / 0.9945 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.8684, allocations: 256 / 0.9945 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006445/0.8691, allocations: 498.6 kB / 0.995 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005763/0.8748, allocations: 1.337 MB / 0.9963 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.8942, allocations: 13.9 MB / 1.01 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.8954, allocations: 1.41 MB / 1.011 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001492/0.8969, allocations: 490.6 kB / 1.012 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008807/0.8978, allocations: 0.6555 MB / 1.012 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of SimCode: time 7.92e-07/0.8978, allocations: 0 / 1.012 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.405/1.303, allocations: 60.05 MB / 1.071 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.56, allocations: 4.406 kB / 1.071 GB, free: 312.7 MB / 0.8106 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)