Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4996/0.4996, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 343.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009265, allocations: 86.59 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.171e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.408/4.55, allocations: 1.866 GB / 2.419 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/4.55, allocations: 92.38 kB / 2.419 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.613/6.164, allocations: 457.2 MB / 2.866 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/6.164, allocations: 192 / 2.866 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.953e-05/6.164, allocations: 23.94 kB / 2.866 GB, free: 67.06 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002253/6.166, allocations: 1.012 MB / 2.867 GB, free: 66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/6.166, allocations: 8.031 kB / 2.867 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/6.167, allocations: 166.8 kB / 2.867 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/6.169, allocations: 0.696 MB / 2.868 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/6.169, allocations: 12 kB / 2.868 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-05/6.169, allocations: 28 kB / 2.868 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004474/6.169, allocations: 269.4 kB / 2.868 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/6.17, allocations: 370.1 kB / 2.868 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/6.17, allocations: 4 kB / 2.868 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/6.17, allocations: 0 / 2.868 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/6.17, allocations: 12.78 kB / 2.868 GB, free: 64.4 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.002537/6.172, allocations: 1.846 MB / 2.87 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/6.173, allocations: 319.4 kB / 2.87 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/6.173, allocations: 133.3 kB / 2.871 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003169/6.173, allocations: 190.4 kB / 2.871 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/6.174, allocations: 42.8 kB / 2.871 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 2.905e-06/6.174, allocations: 0 / 2.871 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001275/6.175, allocations: 393.9 kB / 2.871 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/6.175, allocations: 55.41 kB / 2.871 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008772/6.176, allocations: 0.6366 MB / 2.872 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/6.176, allocations: 29.7 kB / 2.872 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/6.176, allocations: 340.7 kB / 2.872 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/6.176, allocations: 94.56 kB / 2.872 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/6.176, allocations: 0 / 2.872 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/6.176, allocations: 322 kB / 2.873 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/6.176, allocations: 104 kB / 2.873 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/6.177, allocations: 265.5 kB / 2.873 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/6.177, allocations: 150.1 kB / 2.873 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/6.177, allocations: 0 / 2.873 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007542/6.178, allocations: 397.4 kB / 2.873 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/6.178, allocations: 274.9 kB / 2.874 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/6.178, allocations: 0 / 2.874 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/6.178, allocations: 48.81 kB / 2.874 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/6.179, allocations: 103.9 kB / 2.874 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006085/6.179, allocations: 1.162 MB / 2.875 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/6.18, allocations: 83.94 kB / 2.875 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/6.18, allocations: 27.94 kB / 2.875 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/6.18, allocations: 4 kB / 2.875 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000472/6.181, allocations: 268.6 kB / 2.875 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/6.181, allocations: 3.984 kB / 2.875 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/6.181, allocations: 36.78 kB / 2.875 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/6.182, allocations: 99.92 kB / 2.875 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009469/6.182, allocations: 1.405 MB / 2.877 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/6.183, allocations: 87.77 kB / 2.877 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/6.183, allocations: 12 kB / 2.877 GB, free: 55.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001149/6.183, allocations: 111.3 kB / 2.877 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005582/6.184, allocations: 369.7 kB / 2.877 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/6.184, allocations: 67.16 kB / 2.877 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/6.185, allocations: 396.9 kB / 2.878 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/6.185, allocations: 4 kB / 2.878 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/6.185, allocations: 0 / 2.878 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/6.185, allocations: 7.969 kB / 2.878 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/6.186, allocations: 1.122 MB / 2.879 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/6.186, allocations: 4.188 kB / 2.879 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/6.187, allocations: 67.89 kB / 2.879 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.181e-05/6.187, allocations: 32.84 kB / 2.879 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/6.187, allocations: 4 kB / 2.879 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003905/6.187, allocations: 1.154 MB / 2.88 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/6.187, allocations: 4.031 kB / 2.88 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/6.188, allocations: 0.7148 MB / 2.881 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/6.188, allocations: 208.1 kB / 2.881 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/6.188, allocations: 8 kB / 2.881 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/6.189, allocations: 55.92 kB / 2.881 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/6.189, allocations: 23.97 kB / 2.881 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/6.189, allocations: 12 kB / 2.881 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005318/6.19, allocations: 0.5146 MB / 2.882 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.01e-07/6.19, allocations: 0 / 2.882 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001602/6.191, allocations: 399.4 kB / 2.882 GB, free: 49.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002976/6.194, allocations: 2.932 MB / 2.885 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001231/6.196, allocations: 0.5572 MB / 2.885 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/6.196, allocations: 0 / 2.885 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/6.196, allocations: 151.8 kB / 2.886 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/6.197, allocations: 238.7 kB / 2.886 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/6.199, allocations: 1.026 MB / 2.887 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/6.2, allocations: 0.9619 MB / 2.888 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001091/6.201, allocations: 246.8 kB / 2.888 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/6.201, allocations: 239.3 kB / 2.888 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/6.201, allocations: 0 / 2.888 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04612/6.247, allocations: 26.32 MB / 2.914 GB, free: 16.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/6.248, allocations: 178.5 kB / 2.914 GB, free: 16.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/9.045, allocations: 0 / 2.914 GB, free: 16.65 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)