Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001418/0.001418, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00168/0.00168, allocations: 209 kB / 22.99 MB, free: 4.977 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9764/0.9764, allocations: 149.9 MB / 463.1 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003131/0.003131, allocations: 71.02 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2028, allocations: 89.17 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6011/0.8039, allocations: 171.9 MB / 0.8961 GB, free: 9.957 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.8157, allocations: 6.576 MB / 0.9025 GB, free: 3.375 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.8175, allocations: 63.38 kB / 0.9025 GB, free: 3.312 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.8198, allocations: 0.6831 MB / 0.9032 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007057/0.8269, allocations: 2.42 MB / 0.9056 GB, free: 200 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.8309, allocations: 1.446 MB / 0.907 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005012/0.836, allocations: 3.012 MB / 0.9099 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.8375, allocations: 0.6953 MB / 0.9106 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.8417, allocations: 1.631 MB / 0.9122 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.8436, allocations: 0.8107 MB / 0.913 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002968/0.8439, allocations: 100 kB / 0.9131 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/0.8484, allocations: 1.648 MB / 0.9147 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007325/0.8491, allocations: 382.6 kB / 0.9151 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008909/0.85, allocations: 477.8 kB / 0.9155 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005068/0.8551, allocations: 2.344 MB / 0.9178 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.8551, allocations: 11.98 kB / 0.9178 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.865e-06/0.8551, allocations: 0 / 0.9178 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.885e-05/0.8551, allocations: 3.938 kB / 0.9178 GB, free: 3.66 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003948/0.8591, allocations: 1.586 MB / 0.9194 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.8591, allocations: 12.03 kB / 0.9194 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.8593, allocations: 114.4 kB / 0.9195 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.8624, allocations: 0.5455 MB / 0.92 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.8651, allocations: 0.9622 MB / 0.921 GB, free: 376 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.862e-05/0.8652, allocations: 53.31 kB / 0.921 GB, free: 320 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.8654, allocations: 68 kB / 0.9211 GB, free: 252 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.8682, allocations: 1.25 MB / 0.9223 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.8683, allocations: 0 / 0.9223 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-05/0.8684, allocations: 27.94 kB / 0.9223 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.8684, allocations: 33.3 kB / 0.9224 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003361/0.8718, allocations: 1.19 MB / 0.9235 GB, free: 13.68 MB / 0.7012 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.006626/0.8784, allocations: 2.88 MB / 0.9263 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.8803, allocations: 0.6817 MB / 0.927 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008985/0.8812, allocations: 423 kB / 0.9274 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005507/0.8817, allocations: 132.3 kB / 0.9275 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.883, allocations: 0.6472 MB / 0.9282 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.675e-06/0.883, allocations: 0 / 0.9282 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003414/0.8864, allocations: 1.291 MB / 0.9294 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.8865, allocations: 140.9 kB / 0.9295 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.8887, allocations: 1.18 MB / 0.9307 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.8889, allocations: 37.7 kB / 0.9307 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.8893, allocations: 445.8 kB / 0.9312 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.8896, allocations: 202.3 kB / 0.9314 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.8899, allocations: 146.2 kB / 0.9315 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.89, allocations: 322 kB / 0.9318 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.8914, allocations: 486.6 kB / 0.9323 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.8932, allocations: 0.9745 MB / 0.9332 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.8955, allocations: 0.9254 MB / 0.9341 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.8955, allocations: 0 / 0.9341 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003508/0.899, allocations: 1.245 MB / 0.9353 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.8991, allocations: 41.69 kB / 0.9354 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.8991, allocations: 4 kB / 0.9354 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.8991, allocations: 13.06 kB / 0.9354 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/0.9001, allocations: 183.8 kB / 0.9356 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.9001, allocations: 8 kB / 0.9356 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.9017, allocations: 243.8 kB / 0.9358 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.86e-05/0.9018, allocations: 43.91 kB / 0.9359 GB, free: 0.5781 MB / 0.7012 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.0005967/0.9024, allocations: 333.5 kB / 0.9362 GB, free: 244 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.9027, allocations: 119.2 kB / 0.9363 GB, free: 124 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.9051, allocations: 1.027 MB / 0.9373 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/0.9051, allocations: 15.94 kB / 0.9373 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.9051, allocations: 4.859 kB / 0.9373 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.9052, allocations: 4 kB / 0.9373 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/0.9106, allocations: 3.007 MB / 0.9402 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.9107, allocations: 8 kB / 0.9403 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/0.9113, allocations: 120 kB / 0.9404 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.9113, allocations: 15.94 kB / 0.9404 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.9114, allocations: 23.98 kB / 0.9404 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/0.9114, allocations: 15.94 kB / 0.9404 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.9114, allocations: 11.94 kB / 0.9404 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.9139, allocations: 1.392 MB / 0.9418 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/0.9146, allocations: 258.9 kB / 0.942 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.9148, allocations: 24 kB / 0.9421 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.9159, allocations: 99.89 kB / 0.9422 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.916, allocations: 63.94 kB / 0.9422 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/0.9161, allocations: 43.97 kB / 0.9423 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001608/0.9177, allocations: 0.8443 MB / 0.9431 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9177, allocations: 0 / 0.9431 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001157/0.9188, allocations: 303.6 kB / 0.9434 GB, free: 8.559 MB / 0.7169 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.003349/0.9222, allocations: 2.172 MB / 0.9455 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002709/0.9249, allocations: 1.032 MB / 0.9465 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.9249, allocations: 4 kB / 0.9465 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.9259, allocations: 0.5064 MB / 0.947 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.9288, allocations: 0.5431 MB / 0.9475 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.9481, allocations: 9.584 MB / 0.9569 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.9487, allocations: 482.6 kB / 0.9574 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001208/0.9499, allocations: 275.7 kB / 0.9576 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006282/0.9505, allocations: 367.2 kB / 0.958 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of SimCode: time 1.934e-06/0.9505, allocations: 0 / 0.958 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07852/1.029, allocations: 34.52 MB / 0.9917 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.49, allocations: 11.98 kB / 0.9917 GB, free: 7.012 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.50429022917524] Failed to read output from testmodel.py, exit status != 0: 13.627163283992559 13.647449502 12.789048083 Calling exit ...