Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 214.6 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002432/0.002432, allocations: 274 kB / 313.5 MB, free: 2.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.181/1.181, allocations: 180.7 MB / 0.5377 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 102.7 kB / 0.7403 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1668, allocations: 95.39 MB / 0.8334 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5932/0.76, allocations: 171.7 MB / 1.001 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.7704, allocations: 6.563 MB / 1.008 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.7721, allocations: 68.06 kB / 1.008 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.7741, allocations: 0.6864 MB / 1.008 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006458/0.7806, allocations: 2.423 MB / 1.011 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.7844, allocations: 1.473 MB / 1.012 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004339/0.7888, allocations: 3.036 MB / 1.015 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.7902, allocations: 0.7163 MB / 1.016 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.7938, allocations: 1.198 MB / 1.017 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.7959, allocations: 0.8475 MB / 1.018 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.7962, allocations: 102.6 kB / 1.018 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.8002, allocations: 1.722 MB / 1.02 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006263/0.8008, allocations: 375 kB / 1.02 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.802, allocations: 483.1 kB / 1.02 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.8075, allocations: 2.339 MB / 1.023 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8075, allocations: 3.438 kB / 1.023 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8075, allocations: 0 / 1.023 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.749e-05/0.8076, allocations: 0.9375 kB / 1.023 GB, free: 2.707 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004302/0.8119, allocations: 1.591 MB / 1.024 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.8119, allocations: 10.53 kB / 1.024 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.892e-05/0.812, allocations: 21.97 kB / 1.024 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002005/0.8122, allocations: 115.7 kB / 1.024 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/0.8152, allocations: 0.544 MB / 1.025 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.8177, allocations: 0.9689 MB / 1.026 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.163e-05/0.8178, allocations: 57.83 kB / 1.026 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.818, allocations: 68.41 kB / 1.026 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.8208, allocations: 1.234 MB / 1.027 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.8208, allocations: 3.938 kB / 1.027 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.8209, allocations: 22.75 kB / 1.027 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.473e-05/0.821, allocations: 33.25 kB / 1.027 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.8239, allocations: 1.198 MB / 1.028 GB, free: 17.18 MB / 0.7325 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.005702/0.8296, allocations: 2.887 MB / 1.031 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.8311, allocations: 0.6772 MB / 1.032 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/0.8318, allocations: 423.6 kB / 1.032 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.8323, allocations: 130.2 kB / 1.032 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009925/0.8333, allocations: 0.6427 MB / 1.033 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.355e-06/0.8333, allocations: 0 / 1.033 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.002765/0.836, allocations: 1.289 MB / 1.034 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.8361, allocations: 147.1 kB / 1.034 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.8378, allocations: 1.178 MB / 1.036 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.8379, allocations: 41.34 kB / 1.036 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.8382, allocations: 443.1 kB / 1.036 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.8383, allocations: 193 kB / 1.036 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.8386, allocations: 146.8 kB / 1.036 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8387, allocations: 333.4 kB / 1.037 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.8398, allocations: 471.8 kB / 1.037 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.8413, allocations: 0.9815 MB / 1.038 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.8431, allocations: 0.929 MB / 1.039 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.8431, allocations: 1.031 kB / 1.039 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002839/0.846, allocations: 1.242 MB / 1.04 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.846, allocations: 38.53 kB / 1.04 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.846, allocations: 7.188 kB / 1.04 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.846, allocations: 5.875 kB / 1.04 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/0.8469, allocations: 192.8 kB / 1.04 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.8469, allocations: 5.656 kB / 1.04 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.8484, allocations: 255.4 kB / 1.041 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.8485, allocations: 36.39 kB / 1.041 GB, free: 13.69 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0004974/0.849, allocations: 331.5 kB / 1.041 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.8492, allocations: 123 kB / 1.041 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.8511, allocations: 1.034 MB / 1.042 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.8511, allocations: 7.953 kB / 1.042 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8512, allocations: 3.312 kB / 1.042 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.8512, allocations: 6.953 kB / 1.042 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/0.8555, allocations: 3.005 MB / 1.045 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.8556, allocations: 14.59 kB / 1.045 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.8561, allocations: 120 kB / 1.045 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.8561, allocations: 11.12 kB / 1.045 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.8562, allocations: 23.92 kB / 1.045 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.8562, allocations: 21.41 kB / 1.045 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.8562, allocations: 14.56 kB / 1.045 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.8583, allocations: 1.373 MB / 1.047 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006281/0.859, allocations: 259 kB / 1.047 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.8592, allocations: 22.14 kB / 1.047 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.8604, allocations: 106 kB / 1.047 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.8605, allocations: 60.97 kB / 1.047 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-05/0.8606, allocations: 42.89 kB / 1.047 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001413/0.862, allocations: 0.8519 MB / 1.048 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.862, allocations: 0 / 1.048 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001132/0.8631, allocations: 302.8 kB / 1.048 GB, free: 11.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.003081/0.8662, allocations: 2.15 MB / 1.05 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002376/0.8686, allocations: 1.04 MB / 1.051 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.8686, allocations: 2.75 kB / 1.051 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009101/0.8695, allocations: 0.5082 MB / 1.052 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/0.8726, allocations: 0.5546 MB / 1.052 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.8892, allocations: 9.593 MB / 1.062 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.8897, allocations: 486.1 kB / 1.062 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001099/0.8908, allocations: 270.8 kB / 1.062 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006242/0.8914, allocations: 361.9 kB / 1.063 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/0.8914, allocations: 0 / 1.063 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06771/0.9592, allocations: 34.18 MB / 1.096 GB, free: 8.387 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.3, allocations: 14.7 kB / 1.096 GB, free: 8.379 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.413872336037457] Failed to read output from testmodel.py, exit status != 0: 14.48255189601332 14.501234234 13.690087363 Calling exit ...