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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_IDEAS_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.00117/0.001171, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001572/0.001572, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.248/2.248, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.154/1.154, allocations: 132.2 MB / 423.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005295/0.0005296, allocations: 10.06 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.7156, allocations: 81.56 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.132/1.848, allocations: 276.7 MB / 0.8532 GB, free: 18.98 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06239/1.91, allocations: 32.42 MB / 0.8848 GB, free: 18.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008257/1.918, allocations: 106.4 kB / 0.8849 GB, free: 18.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01054/1.929, allocations: 1.878 MB / 0.8868 GB, free: 18.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02972/1.959, allocations: 5.554 MB / 0.8922 GB, free: 18.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0155/1.974, allocations: 2.755 MB / 0.8949 GB, free: 18.46 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01947/1.994, allocations: 5.019 MB / 0.8998 GB, free: 18.37 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009572/2.003, allocations: 2.946 MB / 0.9027 GB, free: 17.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01494/2.018, allocations: 3.282 MB / 0.9059 GB, free: 16.83 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006884/2.025, allocations: 1.679 MB / 0.9075 GB, free: 16.55 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001511/2.027, allocations: 123 kB / 0.9076 GB, free: 16.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01514/2.042, allocations: 2.502 MB / 0.9101 GB, free: 16.12 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003463/2.046, allocations: 0.8842 MB / 0.9109 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00374/2.049, allocations: 0.7579 MB / 0.9117 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01551/2.065, allocations: 4.792 MB / 0.9163 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/2.065, allocations: 0 / 0.9163 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.83e-06/2.065, allocations: 0 / 0.9163 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002789/2.065, allocations: 2.625 kB / 0.9163 GB, free: 13.39 MB / 0.6387 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.01759/2.083, allocations: 3.638 MB / 0.9199 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.578e-05/2.083, allocations: 9.688 kB / 0.9199 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002369/2.085, allocations: 357.5 kB / 0.9202 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/2.101, allocations: 1.485 MB / 0.9217 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/2.113, allocations: 2.586 MB / 0.9242 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002705/2.115, allocations: 0.5477 MB / 0.9248 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00179/2.117, allocations: 263.3 kB / 0.925 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/2.132, allocations: 3.435 MB / 0.9284 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.35e-05/2.132, allocations: 2.438 kB / 0.9284 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000522/2.133, allocations: 105.5 kB / 0.9285 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/2.133, allocations: 105.8 kB / 0.9286 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/2.147, allocations: 3.19 MB / 0.9317 GB, free: 6.754 MB / 0.6387 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.04279/2.19, allocations: 14.48 MB / 0.9458 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006627/2.197, allocations: 1.878 MB / 0.9477 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/2.197, allocations: 31.3 kB / 0.9477 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003396/2.201, allocations: 0.9702 MB / 0.9486 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002533/2.203, allocations: 143.4 kB / 0.9488 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=108): time 1.025e-05/2.203, allocations: 0 / 0.9488 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108): time 0.01095/2.214, allocations: 2.52 MB / 0.9512 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/2.214, allocations: 200.9 kB / 0.9514 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008116/2.223, allocations: 2.831 MB / 0.9542 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006299/2.223, allocations: 54.73 kB / 0.9542 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002257/2.225, allocations: 1.498 MB / 0.9557 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008871/2.226, allocations: 387.2 kB / 0.9561 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/2.227, allocations: 28.25 kB / 0.9561 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000273/2.227, allocations: 362 kB / 0.9564 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/2.231, allocations: 0.8862 MB / 0.9573 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/2.235, allocations: 1.405 MB / 0.9587 GB, free: 24 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/2.239, allocations: 1.023 MB / 0.9597 GB, free: 15.29 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/2.239, allocations: 7.938 kB / 0.9597 GB, free: 15.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01022/2.249, allocations: 2.541 MB / 0.9622 GB, free: 13.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.004035/2.253, allocations: 5.119 MB / 0.9672 GB, free: 7.793 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-05/2.254, allocations: 16 kB / 0.9672 GB, free: 7.777 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.714e-05/2.254, allocations: 20 kB / 0.9672 GB, free: 7.758 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/2.257, allocations: 468.5 kB / 0.9677 GB, free: 7.332 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-05/2.257, allocations: 25.06 kB / 0.9677 GB, free: 7.312 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006577/2.264, allocations: 0.5079 MB / 0.9682 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/2.264, allocations: 92.89 kB / 0.9683 GB, free: 6.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/2.264, allocations: 4 kB / 0.9683 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008677/2.273, allocations: 2.257 MB / 0.9705 GB, free: 5.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.285e-05/2.273, allocations: 12 kB / 0.9705 GB, free: 5.113 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.999e-05/2.273, allocations: 20 kB / 0.9705 GB, free: 5.094 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/2.277, allocations: 467.1 kB / 0.9709 GB, free: 4.672 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.726e-05/2.277, allocations: 25.25 kB / 0.971 GB, free: 4.652 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005921/2.283, allocations: 447.4 kB / 0.9714 GB, free: 4.242 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004307/2.283, allocations: 70.47 kB / 0.9715 GB, free: 4.184 MB / 0.67 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.003198/2.286, allocations: 0.8581 MB / 0.9723 GB, free: 3.629 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/2.287, allocations: 288.4 kB / 0.9726 GB, free: 3.344 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006803/2.294, allocations: 1.885 MB / 0.9744 GB, free: 1.965 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/2.294, allocations: 12 kB / 0.9744 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/2.294, allocations: 0 / 0.9744 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004653/2.299, allocations: 1.376 MB / 0.9758 GB, free: 0.875 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/2.316, allocations: 5.357 MB / 0.981 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/2.316, allocations: 8 kB / 0.981 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/2.319, allocations: 278.6 kB / 0.9813 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003572/2.319, allocations: 60.62 kB / 0.9813 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/2.319, allocations: 34.05 kB / 0.9814 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/2.321, allocations: 1.463 MB / 0.9828 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/2.321, allocations: 13.06 kB / 0.9828 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/2.331, allocations: 3.758 MB / 0.9865 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/2.334, allocations: 0.5553 MB / 0.987 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008176/2.335, allocations: 35.86 kB / 0.9871 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004182/2.339, allocations: 319.1 kB / 0.9874 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/2.339, allocations: 99.58 kB / 0.9875 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/2.34, allocations: 51.84 kB / 0.9875 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005531/2.345, allocations: 1.973 MB / 0.9894 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3e-07/2.345, allocations: 5.859 kB / 0.9894 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00793/2.353, allocations: 1.538 MB / 0.9909 GB, free: 3.961 MB / 0.6856 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.01286/2.366, allocations: 6.509 MB / 0.9973 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0118/2.378, allocations: 3.141 MB / 1 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.89e-05/2.378, allocations: 2.625 kB / 1 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/2.381, allocations: 0.945 MB / 1.001 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01172/2.393, allocations: 1.494 MB / 1.003 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03148/2.424, allocations: 16.74 MB / 1.019 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002917/2.427, allocations: 2.191 MB / 1.021 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006373/2.434, allocations: 0.7613 MB / 1.022 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003084/2.437, allocations: 1.285 MB / 1.023 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of SimCode: time 1.803e-06/2.437, allocations: 0 / 1.023 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1927/2.63, allocations: 77.16 MB / 1.099 GB, free: 10.07 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/2.63, allocations: 238.8 kB / 1.099 GB, free: 9.836 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.922/8.552, allocations: 0 / 1.099 GB, free: 9.836 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) Environment - environmentSimulation: