Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_dev_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.0009749/0.0009749, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009694/0.0009694, allocations: 194.5 kB / 16.14 MB, free: 6.688 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.207/1.207, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8236/0.8236, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 62.72 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.4023/0.5313, allocations: 252.1 MB / 0.83 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.5518, allocations: 20.76 MB / 0.8503 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.5538, allocations: 87.31 kB / 0.8503 GB, free: 12.04 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.5554, allocations: 0.6559 MB / 0.851 GB, free: 11.38 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.5607, allocations: 2.723 MB / 0.8536 GB, free: 8.645 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004883/0.5656, allocations: 2.513 MB / 0.8561 GB, free: 6.145 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004427/0.57, allocations: 5.072 MB / 0.861 GB, free: 1.062 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2796/0.8496, allocations: 1.06 MB / 0.8621 GB, free: 4.863 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.852, allocations: 1.239 MB / 0.8633 GB, free: 4.863 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009483/0.8529, allocations: 1.059 MB / 0.8643 GB, free: 4.863 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.8531, allocations: 55.72 kB / 0.8644 GB, free: 4.863 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006774/0.8598, allocations: 5.066 MB / 0.8693 GB, free: 4.844 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.8603, allocations: 0.5992 MB / 0.8699 GB, free: 4.844 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008007/0.8611, allocations: 0.9104 MB / 0.8708 GB, free: 4.844 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004704/0.8658, allocations: 4.479 MB / 0.8752 GB, free: 4.754 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.8658, allocations: 4 kB / 0.8752 GB, free: 4.75 MB / 0.67 GB Notification: Performance of FrontEnd: time 6.72e-07/0.8658, allocations: 0 / 0.8752 GB, free: 4.75 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.8658, allocations: 0 / 0.8752 GB, free: 4.75 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.002375/0.8682, allocations: 2.297 MB / 0.8774 GB, free: 19.71 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.8683, allocations: 9.688 kB / 0.8774 GB, free: 19.71 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.8684, allocations: 187.5 kB / 0.8776 GB, free: 19.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.8702, allocations: 489.1 kB / 0.8781 GB, free: 19.55 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.8716, allocations: 1.267 MB / 0.8793 GB, free: 19.11 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.8716, allocations: 99.09 kB / 0.8794 GB, free: 19.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.8718, allocations: 131.3 kB / 0.8795 GB, free: 19.11 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.8735, allocations: 1.714 MB / 0.8812 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.8736, allocations: 10.36 kB / 0.8812 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.783e-05/0.8737, allocations: 54.67 kB / 0.8813 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/0.8737, allocations: 65.91 kB / 0.8813 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.8752, allocations: 1.22 MB / 0.8825 GB, free: 18.73 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.005624/0.8808, allocations: 7.566 MB / 0.8899 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.8816, allocations: 0.6548 MB / 0.8905 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/0.8822, allocations: 0.6281 MB / 0.8912 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.8836, allocations: 1.87 MB / 0.893 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.8836, allocations: 51.78 kB / 0.893 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.8836, allocations: 0 / 0.893 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.00215/0.8858, allocations: 1.395 MB / 0.8944 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.8859, allocations: 298.7 kB / 0.8947 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.8881, allocations: 1.888 MB / 0.8965 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.8882, allocations: 41.33 kB / 0.8966 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.8887, allocations: 0.7298 MB / 0.8973 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.8888, allocations: 247.2 kB / 0.8975 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.889, allocations: 128.6 kB / 0.8976 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.8891, allocations: 331.2 kB / 0.898 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.8895, allocations: 328.3 kB / 0.8983 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.8901, allocations: 0.5654 MB / 0.8988 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.8911, allocations: 0.8609 MB / 0.8997 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8911, allocations: 1.844 kB / 0.8997 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001238/0.8923, allocations: 1.01 MB / 0.9006 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8923, allocations: 6.594 kB / 0.9007 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8924, allocations: 8.094 kB / 0.9007 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.8924, allocations: 11.42 kB / 0.9007 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.8928, allocations: 126.8 kB / 0.9008 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.8928, allocations: 8.141 kB / 0.9008 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.8935, allocations: 133.1 kB / 0.9009 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.8936, allocations: 45.23 kB / 0.901 GB, free: 9.945 MB / 0.6856 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.0005147/0.8941, allocations: 460.5 kB / 0.9014 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.8944, allocations: 190.7 kB / 0.9016 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.896, allocations: 1.089 MB / 0.9027 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.896, allocations: 11.17 kB / 0.9027 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.896, allocations: 3.953 kB / 0.9027 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.896, allocations: 7.062 kB / 0.9027 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009703/0.9057, allocations: 8.944 MB / 0.9114 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.9058, allocations: 20.53 kB / 0.9114 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.9061, allocations: 142.8 kB / 0.9116 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.9062, allocations: 22.59 kB / 0.9116 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.9062, allocations: 36.78 kB / 0.9116 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/0.9062, allocations: 31.84 kB / 0.9117 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.9063, allocations: 23.38 kB / 0.9117 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.9077, allocations: 1.665 MB / 0.9133 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.9082, allocations: 415.7 kB / 0.9137 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.9084, allocations: 34.28 kB / 0.9137 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/0.909, allocations: 44.59 kB / 0.9138 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.733e-05/0.9091, allocations: 108.2 kB / 0.9139 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.9092, allocations: 50.77 kB / 0.9139 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001265/0.9105, allocations: 1.323 MB / 0.9152 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9105, allocations: 0 / 0.9152 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001449/0.9119, allocations: 0.5219 MB / 0.9157 GB, free: 5.523 MB / 0.6856 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.003383/0.9153, allocations: 3.013 MB / 0.9187 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008439/0.9162, allocations: 0.8187 MB / 0.9195 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9162, allocations: 2.406 kB / 0.9195 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.9166, allocations: 488.4 kB / 0.9199 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/0.9213, allocations: 1.275 MB / 0.9212 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.9384, allocations: 16.04 MB / 0.9368 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007844/0.9392, allocations: 1.403 MB / 0.9382 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001337/0.9406, allocations: 486.2 kB / 0.9387 GB, free: 12 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.9412, allocations: 0.6586 MB / 0.9393 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/0.9412, allocations: 0 / 0.9393 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.953/2.894, allocations: 59.26 MB / 0.9972 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/2.895, allocations: 219 kB / 0.9974 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/5.723, allocations: 12.41 kB / 0.9974 GB, free: 8.266 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe 2>&1)