Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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: translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008594/0.0008594, allocations: 96.02 kB / 15.05 MB, free: 1.109 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.0008264/0.0008263, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8425/0.8425, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003505, allocations: 9.094 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.5104/0.6653, allocations: 276.7 MB / 0.8574 GB, free: 7.656 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3673/1.033, allocations: 32.41 MB / 0.889 GB, free: 20.69 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004845/1.037, allocations: 107.9 kB / 0.8891 GB, free: 20.69 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006924/1.044, allocations: 1.88 MB / 0.891 GB, free: 20.68 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01936/1.064, allocations: 5.541 MB / 0.8964 GB, free: 20.62 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009417/1.073, allocations: 2.759 MB / 0.8991 GB, free: 20.57 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0122/1.085, allocations: 5.025 MB / 0.904 GB, free: 20.56 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007373/1.093, allocations: 2.951 MB / 0.9069 GB, free: 20.15 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/1.103, allocations: 3.279 MB / 0.9101 GB, free: 20.14 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005841/1.109, allocations: 1.686 MB / 0.9117 GB, free: 20.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001708/1.111, allocations: 123.5 kB / 0.9118 GB, free: 20.12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00998/1.121, allocations: 2.489 MB / 0.9143 GB, free: 20.12 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002296/1.123, allocations: 0.8864 MB / 0.9151 GB, free: 20.12 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002724/1.126, allocations: 0.7572 MB / 0.9159 GB, free: 20.09 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008953/1.135, allocations: 4.801 MB / 0.9206 GB, free: 19.74 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/1.135, allocations: 0 / 0.9206 GB, free: 19.74 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.164e-06/1.135, allocations: 0 / 0.9206 GB, free: 19.74 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002315/1.135, allocations: 0 / 0.9206 GB, free: 19.74 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01073/1.146, allocations: 3.639 MB / 0.9241 GB, free: 17.9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/1.146, allocations: 10.38 kB / 0.9241 GB, free: 17.9 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009126/1.155, allocations: 1.476 MB / 0.9256 GB, free: 17.39 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007399/1.162, allocations: 2.591 MB / 0.9281 GB, free: 16.32 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00134/1.164, allocations: 0.5413 MB / 0.9286 GB, free: 16.12 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/1.165, allocations: 265.1 kB / 0.9289 GB, free: 16.12 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009195/1.174, allocations: 3.434 MB / 0.9322 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.77e-05/1.174, allocations: 3.281 kB / 0.9322 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000546/1.175, allocations: 105.3 kB / 0.9323 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/1.175, allocations: 104.1 kB / 0.9324 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007684/1.182, allocations: 3.193 MB / 0.9355 GB, free: 14.53 MB / 0.67 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.02129/1.204, allocations: 14.49 MB / 0.9497 GB, free: 5.305 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/1.208, allocations: 1.88 MB / 0.9515 GB, free: 4.793 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-05/1.208, allocations: 32.06 kB / 0.9516 GB, free: 4.789 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/1.21, allocations: 0.9629 MB / 0.9525 GB, free: 4.461 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001589/1.211, allocations: 137.5 kB / 0.9526 GB, free: 4.379 MB / 0.67 GB Notification: Performance of pre-optimization done (n=108): time 6.572e-06/1.211, allocations: 0 / 0.9526 GB, free: 4.379 MB / 0.67 GB Notification: Performance of matching and sorting (n=108): time 0.006248/1.217, allocations: 2.534 MB / 0.9551 GB, free: 3.703 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/1.217, allocations: 196.2 kB / 0.9553 GB, free: 3.484 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/1.222, allocations: 2.827 MB / 0.9581 GB, free: 2.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/1.222, allocations: 54.64 kB / 0.9581 GB, free: 2.738 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.224, allocations: 1.504 MB / 0.9596 GB, free: 2.109 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/1.224, allocations: 385.4 kB / 0.96 GB, free: 1.836 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.224, allocations: 26.59 kB / 0.96 GB, free: 1.836 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.972e-05/1.224, allocations: 361.1 kB / 0.9603 GB, free: 1.516 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/1.226, allocations: 0.8925 MB / 0.9612 GB, free: 1.336 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/1.228, allocations: 1.403 MB / 0.9626 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/1.231, allocations: 1.017 MB / 0.9636 GB, free: 352 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/1.231, allocations: 5.25 kB / 0.9636 GB, free: 352 kB / 0.67 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005366/1.236, allocations: 2.535 MB / 0.966 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001856/1.238, allocations: 5.118 MB / 0.971 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/1.238, allocations: 12.56 kB / 0.971 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.456e-05/1.238, allocations: 22.2 kB / 0.9711 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/1.24, allocations: 470.5 kB / 0.9715 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.269e-05/1.24, allocations: 28.86 kB / 0.9715 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/1.244, allocations: 0.5022 MB / 0.972 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/1.244, allocations: 76.52 kB / 0.9721 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/1.244, allocations: 5.125 kB / 0.9721 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005103/1.249, allocations: 2.275 MB / 0.9743 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/1.249, allocations: 12 kB / 0.9743 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.249, allocations: 23.95 kB / 0.9744 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/1.251, allocations: 460.5 kB / 0.9748 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/1.251, allocations: 30.25 kB / 0.9748 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/1.255, allocations: 455.4 kB / 0.9753 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.255, allocations: 71.47 kB / 0.9753 GB, free: 8.141 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 177 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001814/1.257, allocations: 0.8582 MB / 0.9762 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006924/1.258, allocations: 284.4 kB / 0.9764 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/1.262, allocations: 1.875 MB / 0.9783 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.262, allocations: 15.98 kB / 0.9783 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.262, allocations: 8 kB / 0.9783 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002888/1.265, allocations: 1.367 MB / 0.9796 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.276, allocations: 5.357 MB / 0.9849 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.276, allocations: 8 kB / 0.9849 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/1.278, allocations: 284.2 kB / 0.9851 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/1.278, allocations: 59.2 kB / 0.9852 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.278, allocations: 35.7 kB / 0.9852 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/1.279, allocations: 1.45 MB / 0.9867 GB, free: 15.11 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.279, allocations: 14.59 kB / 0.9867 GB, free: 15.1 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006323/1.286, allocations: 3.777 MB / 0.9904 GB, free: 11.77 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.287, allocations: 0.5486 MB / 0.9909 GB, free: 11.32 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007187/1.288, allocations: 34.98 kB / 0.9909 GB, free: 11.3 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/1.291, allocations: 313.4 kB / 0.9912 GB, free: 11.01 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.291, allocations: 100.9 kB / 0.9913 GB, free: 10.93 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.291, allocations: 56.39 kB / 0.9914 GB, free: 10.89 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.003831/1.295, allocations: 1.974 MB / 0.9933 GB, free: 9.469 MB / 0.7013 GB Notification: Performance of sort global known variables: time 3.31e-07/1.295, allocations: 0 / 0.9933 GB, free: 9.469 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.005084/1.3, allocations: 1.544 MB / 0.9948 GB, free: 7.996 MB / 0.7013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/1.301, allocations: 444.2 kB / 0.9952 GB, free: 7.625 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.007359/1.309, allocations: 3.134 MB / 0.9983 GB, free: 5.281 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.309, allocations: 1.75 kB / 0.9983 GB, free: 5.281 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/1.311, allocations: 0.9542 MB / 0.9992 GB, free: 4.566 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007448/1.318, allocations: 1.485 MB / 1.001 GB, free: 3.332 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/1.333, allocations: 6.936 MB / 1.007 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/1.335, allocations: 2.19 MB / 1.01 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003801/1.339, allocations: 0.7613 MB / 1.01 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006886/1.339, allocations: 199.1 kB / 1.011 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of SimCode: time 1.182e-06/1.339, allocations: 0 / 1.011 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.07721/1.417, allocations: 51.92 MB / 1.061 GB, free: 6.754 MB / 0.7638 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) Environment - environmentSimulation: