Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",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.00459/0.00459, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001282/0.001282, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.32/2.32, allocations: 437.1 MB / 0.7106 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2422, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7648/1.007, allocations: 342.9 MB / 1.501 GB, free: 13.56 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04563/1.053, allocations: 38.37 MB / 1.539 GB, free: 7.078 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/1.057, allocations: 135.2 kB / 1.539 GB, free: 6.945 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00707/1.064, allocations: 3.14 MB / 1.542 GB, free: 3.789 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01312/1.077, allocations: 5.939 MB / 1.548 GB, free: 13.82 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006652/1.083, allocations: 3.131 MB / 1.551 GB, free: 10.72 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01445/1.098, allocations: 11.47 MB / 1.562 GB, free: 15.23 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005226/1.103, allocations: 4.221 MB / 1.566 GB, free: 10.92 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008954/1.112, allocations: 4.92 MB / 1.571 GB, free: 5.984 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004544/1.117, allocations: 2.78 MB / 1.573 GB, free: 3.207 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005776/1.117, allocations: 383.9 kB / 1.574 GB, free: 2.832 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009053/1.126, allocations: 5.316 MB / 1.579 GB, free: 13.5 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001348/1.128, allocations: 1.402 MB / 1.58 GB, free: 12.1 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002418/1.13, allocations: 2.263 MB / 1.583 GB, free: 9.824 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/1.141, allocations: 7.743 MB / 1.59 GB, free: 2.055 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.141, allocations: 0 / 1.59 GB, free: 2.055 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.713e-06/1.141, allocations: 0 / 1.59 GB, free: 2.055 MB / 1.248 GB Notification: Performance of Transformations before backend: time 7.814e-05/1.141, allocations: 0 / 1.59 GB, free: 2.055 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.007736/1.148, allocations: 4.937 MB / 1.595 GB, free: 13.01 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/1.148, allocations: 8.031 kB / 1.595 GB, free: 13 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004091/1.149, allocations: 362.5 kB / 1.595 GB, free: 12.64 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/1.157, allocations: 1.507 MB / 1.597 GB, free: 11.13 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0068/1.163, allocations: 3.935 MB / 1.601 GB, free: 7.133 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/1.164, allocations: 286.2 kB / 1.601 GB, free: 6.832 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/1.164, allocations: 264 kB / 1.601 GB, free: 6.574 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00604/1.17, allocations: 3.369 MB / 1.604 GB, free: 3.094 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/1.17, allocations: 4 kB / 1.604 GB, free: 3.09 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/1.17, allocations: 104 kB / 1.605 GB, free: 2.988 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.782e-05/1.171, allocations: 108.8 kB / 1.605 GB, free: 2.879 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006374/1.177, allocations: 2.978 MB / 1.608 GB, free: 15.88 MB / 1.279 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.01929/1.196, allocations: 14.6 MB / 1.622 GB, free: 204 kB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003362/1.2, allocations: 1.583 MB / 1.623 GB, free: 14.57 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/1.201, allocations: 0.6914 MB / 1.624 GB, free: 13.88 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/1.201, allocations: 308.2 kB / 1.624 GB, free: 13.52 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/1.203, allocations: 0.8059 MB / 1.625 GB, free: 12.69 MB / 1.295 GB Notification: Performance of pre-optimization done (n=103): time 2.234e-06/1.203, allocations: 0 / 1.625 GB, free: 12.69 MB / 1.295 GB Notification: Performance of matching and sorting (n=103): time 0.00539/1.209, allocations: 2.207 MB / 1.627 GB, free: 10.46 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/1.209, allocations: 111.8 kB / 1.627 GB, free: 10.32 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/1.213, allocations: 3.194 MB / 1.63 GB, free: 7.141 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.213, allocations: 57.69 kB / 1.631 GB, free: 7.078 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/1.214, allocations: 1.758 MB / 1.632 GB, free: 5.305 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/1.215, allocations: 388.7 kB / 1.633 GB, free: 4.922 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006471/1.215, allocations: 475.6 kB / 1.633 GB, free: 4.453 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.216, allocations: 305.1 kB / 1.633 GB, free: 4.152 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/1.218, allocations: 0.9306 MB / 1.634 GB, free: 3.215 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/1.22, allocations: 1.699 MB / 1.636 GB, free: 1.172 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/1.224, allocations: 2.491 MB / 1.638 GB, free: 14.37 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.224, allocations: 4 kB / 1.638 GB, free: 14.37 MB / 1.311 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005692/1.23, allocations: 2.936 MB / 1.641 GB, free: 11.43 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/1.23, allocations: 37.7 kB / 1.641 GB, free: 11.38 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/1.23, allocations: 24 kB / 1.641 GB, free: 11.36 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.839e-05/1.23, allocations: 32 kB / 1.641 GB, free: 11.33 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.232, allocations: 0.5115 MB / 1.642 GB, free: 10.82 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.954e-05/1.232, allocations: 51.8 kB / 1.642 GB, free: 10.77 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/1.235, allocations: 394 kB / 1.642 GB, free: 10.38 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/1.235, allocations: 104 kB / 1.642 GB, free: 10.28 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003222/1.238, allocations: 1.722 MB / 1.644 GB, free: 8.551 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002629/1.241, allocations: 1.699 MB / 1.646 GB, free: 6.512 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004119/1.245, allocations: 2.487 MB / 1.648 GB, free: 3.707 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.717e-06/1.245, allocations: 4 kB / 1.648 GB, free: 3.703 MB / 1.311 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.005572/1.251, allocations: 2.934 MB / 1.651 GB, free: 0.7539 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/1.251, allocations: 55.3 kB / 1.651 GB, free: 0.6953 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.251, allocations: 20 kB / 1.651 GB, free: 0.6758 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/1.251, allocations: 35.98 kB / 1.651 GB, free: 0.6406 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.253, allocations: 0.5076 MB / 1.652 GB, free: 136 kB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.832e-05/1.253, allocations: 47.8 kB / 1.652 GB, free: 88 kB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.255, allocations: 326.8 kB / 1.652 GB, free: 15.77 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/1.255, allocations: 95.98 kB / 1.652 GB, free: 15.67 MB / 1.326 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 243 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.000402/1.256, allocations: 318.1 kB / 1.652 GB, free: 15.36 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/1.256, allocations: 325.8 kB / 1.653 GB, free: 15.04 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/1.26, allocations: 1.676 MB / 1.654 GB, free: 13.34 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.26, allocations: 12 kB / 1.654 GB, free: 13.33 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.26, allocations: 0 / 1.654 GB, free: 13.33 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002841/1.263, allocations: 1.301 MB / 1.656 GB, free: 11.99 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007616/1.27, allocations: 4.568 MB / 1.66 GB, free: 7.254 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.27, allocations: 12 kB / 1.66 GB, free: 7.242 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.272, allocations: 239.8 kB / 1.66 GB, free: 7.008 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/1.272, allocations: 52.83 kB / 1.66 GB, free: 6.953 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/1.272, allocations: 31.98 kB / 1.66 GB, free: 6.922 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/1.273, allocations: 1.551 MB / 1.662 GB, free: 5.23 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.273, allocations: 12.06 kB / 1.662 GB, free: 5.219 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004924/1.278, allocations: 2.532 MB / 1.664 GB, free: 2.586 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008943/1.279, allocations: 0.565 MB / 1.665 GB, free: 2 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/1.279, allocations: 32 kB / 1.665 GB, free: 1.969 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.281, allocations: 131.9 kB / 1.665 GB, free: 1.84 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.281, allocations: 100.4 kB / 1.665 GB, free: 1.742 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.281, allocations: 55.91 kB / 1.665 GB, free: 1.688 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.003061/1.284, allocations: 2.148 MB / 1.667 GB, free: 15.55 MB / 1.342 GB Notification: Performance of sort global known variables: time 2.5e-07/1.284, allocations: 0 / 1.667 GB, free: 15.55 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.003438/1.288, allocations: 1.703 MB / 1.669 GB, free: 13.85 MB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006095/1.294, allocations: 3.559 MB / 1.672 GB, free: 10.18 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.006743/1.301, allocations: 3.382 MB / 1.676 GB, free: 6.785 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.301, allocations: 12.06 kB / 1.676 GB, free: 6.773 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/1.302, allocations: 0.812 MB / 1.677 GB, free: 5.945 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/1.308, allocations: 1.495 MB / 1.678 GB, free: 4.477 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/1.344, allocations: 23.28 MB / 1.701 GB, free: 12.19 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/1.346, allocations: 2.307 MB / 1.703 GB, free: 9.852 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.002907/1.349, allocations: 0.8956 MB / 1.704 GB, free: 8.949 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/1.351, allocations: 1.448 MB / 1.705 GB, free: 7.504 MB / 1.373 GB Notification: Performance of SimCode: time 4.71e-07/1.351, allocations: 0 / 1.705 GB, free: 7.504 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.492/3.843, allocations: 77.29 MB / 1.781 GB, free: 11.07 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.5/31.34, allocations: 4.062 kB / 1.781 GB, free: 11.06 MB / 1.451 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)