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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0009466/0.0009463, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009882/0.0009882, allocations: 168.7 kB / 15.95 MB, free: 204 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.288/1.288, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.738/0.738, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004508, allocations: 16.92 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.397, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.5828/0.9799, allocations: 313.1 MB / 0.8889 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03338/1.013, allocations: 34.02 MB / 0.9221 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003996/1.017, allocations: 112.2 kB / 0.9222 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004225/1.022, allocations: 1.484 MB / 0.9237 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/1.032, allocations: 4.175 MB / 0.9277 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006555/1.039, allocations: 2.216 MB / 0.9299 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009625/1.049, allocations: 9.665 MB / 0.9393 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004133/1.053, allocations: 2.898 MB / 0.9422 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00704/1.06, allocations: 3.745 MB / 0.9458 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003872/1.064, allocations: 2.433 MB / 0.9482 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007006/1.064, allocations: 124.1 kB / 0.9483 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006654/1.071, allocations: 2.863 MB / 0.9511 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/1.072, allocations: 0.9738 MB / 0.9521 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/1.073, allocations: 0.7528 MB / 0.9528 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005778/1.079, allocations: 5.036 MB / 0.9577 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.079, allocations: 0 / 0.9577 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/1.079, allocations: 0 / 0.9577 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001365/1.079, allocations: 0 / 0.9577 GB, free: 12.11 MB / 0.6544 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.006706/1.086, allocations: 3.716 MB / 0.9613 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/1.086, allocations: 8.031 kB / 0.9614 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007684/1.094, allocations: 1.475 MB / 0.9628 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00504/1.099, allocations: 2.569 MB / 0.9653 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001238/1.1, allocations: 0.5418 MB / 0.9658 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004389/1.101, allocations: 267.4 kB / 0.9661 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006341/1.107, allocations: 3.467 MB / 0.9695 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/1.107, allocations: 6.234 kB / 0.9695 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/1.107, allocations: 107.5 kB / 0.9696 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.752e-05/1.107, allocations: 104.2 kB / 0.9697 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006582/1.114, allocations: 3.205 MB / 0.9728 GB, free: 15.71 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.01914/1.133, allocations: 14.42 MB / 0.9869 GB, free: 3.066 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/1.137, allocations: 1.878 MB / 0.9887 GB, free: 1.66 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/1.138, allocations: 0.8218 MB / 0.9895 GB, free: 1.082 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/1.139, allocations: 304.7 kB / 0.9898 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/1.141, allocations: 0.9711 MB / 0.9908 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008806/1.142, allocations: 137.5 kB / 0.9909 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=108): time 2.685e-06/1.142, allocations: 0 / 0.9909 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=108): time 0.005813/1.148, allocations: 2.533 MB / 0.9934 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/1.148, allocations: 115.8 kB / 0.9935 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/1.151, allocations: 2.845 MB / 0.9963 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/1.151, allocations: 55.27 kB / 0.9963 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/1.152, allocations: 1.502 MB / 0.9978 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/1.153, allocations: 379.2 kB / 0.9981 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/1.153, allocations: 29.69 kB / 0.9982 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.153, allocations: 366.4 kB / 0.9985 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/1.155, allocations: 0.8977 MB / 0.9994 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/1.158, allocations: 1.406 MB / 1.001 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.16, allocations: 1.037 MB / 1.002 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.16, allocations: 4 kB / 1.002 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005176/1.165, allocations: 2.538 MB / 1.004 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002468/1.165, allocations: 468.9 kB / 1.005 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.165, allocations: 15.98 kB / 1.005 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/1.165, allocations: 24 kB / 1.005 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/1.167, allocations: 461.2 kB / 1.005 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/1.167, allocations: 27.92 kB / 1.005 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/1.17, allocations: 0.5129 MB / 1.006 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/1.171, allocations: 71.72 kB / 1.006 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-06/1.171, allocations: 4 kB / 1.006 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004844/1.176, allocations: 2.274 MB / 1.008 GB, free: 2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.176, allocations: 12 kB / 1.008 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.176, allocations: 20 kB / 1.008 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/1.178, allocations: 467.3 kB / 1.008 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/1.178, allocations: 27.92 kB / 1.009 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/1.181, allocations: 440.2 kB / 1.009 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.181, allocations: 69.53 kB / 1.009 GB, free: 1.031 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.001558/1.182, allocations: 0.8603 MB / 1.01 GB, free: 464 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/1.183, allocations: 286.9 kB / 1.01 GB, free: 176 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/1.187, allocations: 1.954 MB / 1.012 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.187, allocations: 12 kB / 1.012 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.187, allocations: 0 / 1.012 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003135/1.19, allocations: 1.536 MB / 1.014 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008255/1.198, allocations: 4.975 MB / 1.018 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.046e-06/1.198, allocations: 4 kB / 1.018 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.2, allocations: 286.6 kB / 1.019 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/1.2, allocations: 52.83 kB / 1.019 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-05/1.2, allocations: 35.97 kB / 1.019 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/1.201, allocations: 1.444 MB / 1.02 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.201, allocations: 4 kB / 1.02 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/1.206, allocations: 2.943 MB / 1.023 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009036/1.207, allocations: 0.552 MB / 1.024 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/1.208, allocations: 31.98 kB / 1.024 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.21, allocations: 311.5 kB / 1.024 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.21, allocations: 96.72 kB / 1.024 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.21, allocations: 51.97 kB / 1.024 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002914/1.213, allocations: 1.978 MB / 1.026 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.213, allocations: 0 / 1.026 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003356/1.217, allocations: 1.55 MB / 1.027 GB, free: 15.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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.000844/1.217, allocations: 458.2 kB / 1.028 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006696/1.224, allocations: 3.146 MB / 1.031 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.371e-06/1.224, allocations: 4 kB / 1.031 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.226, allocations: 0.9432 MB / 1.032 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005878/1.232, allocations: 1.498 MB / 1.033 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.243, allocations: 6.886 MB / 1.04 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/1.245, allocations: 2.131 MB / 1.042 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003354/1.249, allocations: 0.7496 MB / 1.043 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/1.249, allocations: 199.4 kB / 1.043 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of SimCode: time 5.92e-07/1.249, allocations: 0 / 1.043 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.07785/1.327, allocations: 52.21 MB / 1.094 GB, free: 11.59 MB / 0.7794 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (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)