Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.005396/0.005396, allocations: 101 kB / 15.73 MB, free: 6.039 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.001204/0.001204, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.3 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.09 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2499, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6876/0.9375, allocations: 194 MB / 1.277 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008804/0.9463, allocations: 6.943 MB / 1.284 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009169/0.9472, allocations: 45 kB / 1.284 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.9487, allocations: 0.6842 MB / 1.284 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004973/0.9537, allocations: 2.341 MB / 1.287 GB, free: 3.125 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.9568, allocations: 1.436 MB / 1.288 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003682/0.9605, allocations: 2.994 MB / 1.291 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.9617, allocations: 0.8827 MB / 1.292 GB, free: 2.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.9639, allocations: 1.134 MB / 1.293 GB, free: 2.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.965, allocations: 0.8067 MB / 1.294 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.9652, allocations: 104.2 kB / 1.294 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003788/0.969, allocations: 2.065 MB / 1.296 GB, free: 2.941 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.9694, allocations: 360.7 kB / 1.296 GB, free: 2.941 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006464/0.97, allocations: 0.5887 MB / 1.297 GB, free: 2.941 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.9735, allocations: 2.393 MB / 1.299 GB, free: 2.734 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.9736, allocations: 0 / 1.299 GB, free: 2.734 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9736, allocations: 4.062 kB / 1.299 GB, free: 2.734 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.9736, allocations: 1.594 kB / 1.299 GB, free: 2.734 MB / 1.014 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.002984/0.9766, allocations: 1.619 MB / 1.301 GB, free: 1.863 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.9766, allocations: 11.89 kB / 1.301 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.9768, allocations: 112.5 kB / 1.301 GB, free: 1.824 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/0.9795, allocations: 0.5372 MB / 1.301 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.9815, allocations: 1.04 MB / 1.302 GB, free: 1.422 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.9815, allocations: 57.7 kB / 1.302 GB, free: 1.422 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.9817, allocations: 64.88 kB / 1.303 GB, free: 1.422 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.9838, allocations: 1.104 MB / 1.304 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.9838, allocations: 2.031 kB / 1.304 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.353e-05/0.9839, allocations: 27.03 kB / 1.304 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.9839, allocations: 32.66 kB / 1.304 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.9867, allocations: 1.165 MB / 1.305 GB, free: 1.305 MB / 1.014 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.004575/0.9913, allocations: 3.159 MB / 1.308 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.9928, allocations: 0.6851 MB / 1.309 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.9935, allocations: 419.3 kB / 1.309 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007957/0.9943, allocations: 1.027 MB / 1.31 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008846/0.9952, allocations: 0.5149 MB / 1.31 GB, free: 15.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=57): time 2.164e-06/0.9952, allocations: 0 / 1.31 GB, free: 15.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=57): time 0.002652/0.9979, allocations: 1.228 MB / 1.312 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.998, allocations: 141.5 kB / 1.312 GB, free: 14.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.9996, allocations: 1.176 MB / 1.313 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.9997, allocations: 37.3 kB / 1.313 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.9999, allocations: 439.8 kB / 1.313 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/1, allocations: 192.7 kB / 1.314 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/1, allocations: 147.1 kB / 1.314 GB, free: 14.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/1, allocations: 330.6 kB / 1.314 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/1.002, allocations: 443.7 kB / 1.314 GB, free: 14.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/1.003, allocations: 0.5935 MB / 1.315 GB, free: 13.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/1.005, allocations: 0.9255 MB / 1.316 GB, free: 13.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.005, allocations: 1.5 kB / 1.316 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002813/1.008, allocations: 1.204 MB / 1.317 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.008, allocations: 40.84 kB / 1.317 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.008, allocations: 4.469 kB / 1.317 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.008, allocations: 4.688 kB / 1.317 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008726/1.009, allocations: 192.9 kB / 1.317 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.009, allocations: 4.938 kB / 1.317 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.01, allocations: 244.5 kB / 1.318 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/1.01, allocations: 37 kB / 1.318 GB, free: 13.5 MB / 1.029 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.0004061/1.01, allocations: 332.7 kB / 1.318 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/1.011, allocations: 118.5 kB / 1.318 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/1.013, allocations: 0.9896 MB / 1.319 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.013, allocations: 9.562 kB / 1.319 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.013, allocations: 1.719 kB / 1.319 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.013, allocations: 6.812 kB / 1.319 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/1.017, allocations: 3.151 MB / 1.322 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.017, allocations: 7.531 kB / 1.322 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/1.017, allocations: 122.3 kB / 1.322 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/1.017, allocations: 10.42 kB / 1.322 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/1.017, allocations: 28.67 kB / 1.322 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/1.017, allocations: 20.55 kB / 1.322 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.017, allocations: 11.38 kB / 1.322 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/1.019, allocations: 1.351 MB / 1.324 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/1.02, allocations: 328.3 kB / 1.324 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/1.02, allocations: 28.61 kB / 1.324 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.021, allocations: 104.8 kB / 1.324 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/1.021, allocations: 65.42 kB / 1.324 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/1.021, allocations: 34.56 kB / 1.324 GB, free: 11.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001205/1.022, allocations: 0.8456 MB / 1.325 GB, free: 11.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.022, allocations: 2.188 kB / 1.325 GB, free: 11.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00096/1.023, allocations: 304 kB / 1.325 GB, free: 11.47 MB / 1.029 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.002645/1.026, allocations: 2.123 MB / 1.327 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002017/1.028, allocations: 1.019 MB / 1.328 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.028, allocations: 2.562 kB / 1.328 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007793/1.029, allocations: 0.5103 MB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/1.031, allocations: 0.5577 MB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/1.045, allocations: 9.379 MB / 1.339 GB, free: 5.641 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/1.045, allocations: 1.066 MB / 1.34 GB, free: 4.902 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008509/1.046, allocations: 268.3 kB / 1.34 GB, free: 4.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/1.047, allocations: 361.8 kB / 1.34 GB, free: 4.59 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/1.047, allocations: 0 / 1.34 GB, free: 4.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.84/5.886, allocations: 31.77 MB / 1.371 GB, free: 6.551 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/18.66, allocations: 11.88 kB / 1.371 GB, free: 6.539 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)