Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_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.001284/0.001284, 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.001303/0.001303, allocations: 197 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 295 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9022/0.9022, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 97.48 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1406, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.5139/0.6545, allocations: 253.3 MB / 0.9276 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.677, allocations: 20.59 MB / 0.9478 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.68, allocations: 71.5 kB / 0.9478 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.6819, allocations: 0.8415 MB / 0.9486 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006306/0.6882, allocations: 2.907 MB / 0.9515 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00546/0.6937, allocations: 2.74 MB / 0.9542 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003996/0.6977, allocations: 3.824 MB / 0.9579 GB, free: 10.94 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.6993, allocations: 1.306 MB / 0.9592 GB, free: 9.613 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.7014, allocations: 1.414 MB / 0.9605 GB, free: 8.199 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.7025, allocations: 0.9877 MB / 0.9615 GB, free: 7.207 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.7027, allocations: 108 kB / 0.9616 GB, free: 7.102 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007216/0.7099, allocations: 4.185 MB / 0.9657 GB, free: 2.906 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005741/0.7105, allocations: 0.6426 MB / 0.9663 GB, free: 2.262 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009606/0.7114, allocations: 0.9795 MB / 0.9673 GB, free: 1.277 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005935/0.7174, allocations: 4.25 MB / 0.9714 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7174, allocations: 7.875 kB / 0.9714 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7174, allocations: 0 / 0.9714 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.7175, allocations: 0 / 0.9714 GB, free: 13.01 MB / 0.6856 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.002612/0.7201, allocations: 2.308 MB / 0.9737 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.7201, allocations: 8.031 kB / 0.9737 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.7203, allocations: 190 kB / 0.9739 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.7222, allocations: 485 kB / 0.9743 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.7239, allocations: 1.259 MB / 0.9756 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/0.7239, allocations: 94.44 kB / 0.9757 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.7241, allocations: 128 kB / 0.9758 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.7262, allocations: 1.723 MB / 0.9775 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.7262, allocations: 4 kB / 0.9775 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/0.7264, allocations: 56 kB / 0.9775 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.326e-05/0.7264, allocations: 71.84 kB / 0.9776 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.7279, allocations: 1.218 MB / 0.9788 GB, free: 5.223 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.006482/0.7344, allocations: 7.572 MB / 0.9862 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/0.7353, allocations: 0.6655 MB / 0.9868 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.7359, allocations: 0.6213 MB / 0.9874 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.7373, allocations: 1.865 MB / 0.9893 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.7373, allocations: 50.5 kB / 0.9893 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/0.7373, allocations: 4 kB / 0.9893 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.00223/0.7396, allocations: 1.391 MB / 0.9907 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.7397, allocations: 298.7 kB / 0.991 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.7417, allocations: 1.888 MB / 0.9928 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.7418, allocations: 41.7 kB / 0.9928 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/0.7423, allocations: 0.7291 MB / 0.9936 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.7425, allocations: 244.5 kB / 0.9938 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.7427, allocations: 138.2 kB / 0.9939 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7428, allocations: 325.9 kB / 0.9942 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.7432, allocations: 329.1 kB / 0.9945 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.7438, allocations: 0.5703 MB / 0.9951 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009035/0.7447, allocations: 0.853 MB / 0.9959 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7447, allocations: 4 kB / 0.9959 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001258/0.746, allocations: 1.011 MB / 0.9969 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.746, allocations: 13.88 kB / 0.9969 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.746, allocations: 4 kB / 0.9969 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.746, allocations: 4 kB / 0.9969 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.7464, allocations: 120.3 kB / 0.9971 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.7465, allocations: 12.06 kB / 0.9971 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.7471, allocations: 126.3 kB / 0.9972 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/0.7472, allocations: 47.98 kB / 0.9972 GB, free: 1.152 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.0005422/0.7477, allocations: 462.1 kB / 0.9977 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/0.7481, allocations: 197.7 kB / 0.9979 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.7496, allocations: 1.079 MB / 0.9989 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.7496, allocations: 12.28 kB / 0.9989 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.7496, allocations: 8 kB / 0.9989 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.7497, allocations: 3.984 kB / 0.9989 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.7601, allocations: 8.937 MB / 1.008 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/0.7601, allocations: 16 kB / 1.008 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.7606, allocations: 151.7 kB / 1.008 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-05/0.7606, allocations: 20 kB / 1.008 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.7606, allocations: 35.94 kB / 1.008 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/0.7607, allocations: 27.92 kB / 1.008 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/0.7607, allocations: 23.88 kB / 1.008 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.7623, allocations: 1.672 MB / 1.01 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006191/0.763, allocations: 414.3 kB / 1.01 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/0.7633, allocations: 39.92 kB / 1.01 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/0.7639, allocations: 28 kB / 1.01 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.7641, allocations: 103.5 kB / 1.01 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.7641, allocations: 55.98 kB / 1.01 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001644/0.7658, allocations: 1.316 MB / 1.011 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7658, allocations: 0 / 1.011 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001599/0.7674, allocations: 0.5269 MB / 1.012 GB, free: 1.277 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.004023/0.7714, allocations: 3.03 MB / 1.015 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.7726, allocations: 0.8638 MB / 1.016 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.7726, allocations: 4 kB / 1.016 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.7732, allocations: 481.7 kB / 1.016 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005619/0.7788, allocations: 1.347 MB / 1.018 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.7975, allocations: 15.63 MB / 1.033 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.7987, allocations: 1.406 MB / 1.034 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00146/0.8002, allocations: 478.6 kB / 1.035 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.8009, allocations: 0.6555 MB / 1.035 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of SimCode: time 6.52e-07/0.8009, allocations: 0 / 1.035 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3285/1.129, allocations: 60.9 MB / 1.095 GB, free: 307 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.404, allocations: 1.75 kB / 1.095 GB, free: 307 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)