Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",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.001109/0.001109, allocations: 108.5 kB / 16.4 MB, free: 6.434 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.001164/0.001164, allocations: 193.2 kB / 17.34 MB, free: 5.711 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7096/0.7096, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 69.59 kB / 0.5572 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.138, allocations: 76.17 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.64/0.7781, allocations: 312.6 MB / 0.9369 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0452/0.8233, allocations: 29.36 MB / 0.9656 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005131/0.8285, allocations: 83.56 kB / 0.9657 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.008071/0.8366, allocations: 2.387 MB / 0.968 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008996/0.8456, allocations: 3.177 MB / 0.9711 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006871/0.8525, allocations: 2.75 MB / 0.9738 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01138/0.8639, allocations: 7.551 MB / 0.9811 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.8676, allocations: 2.083 MB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005281/0.8729, allocations: 2.421 MB / 0.9855 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00317/0.8761, allocations: 1.528 MB / 0.987 GB, free: 108 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004285/0.8765, allocations: 252 kB / 0.9873 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007845/0.8844, allocations: 3.606 MB / 0.9908 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.8855, allocations: 0.8296 MB / 0.9916 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.8874, allocations: 1.388 MB / 0.993 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008099/0.8955, allocations: 5.438 MB / 0.9983 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8955, allocations: 0 / 0.9983 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8955, allocations: 0 / 0.9983 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.747e-05/0.8956, allocations: 4 kB / 0.9983 GB, free: 4.562 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004897/0.9005, allocations: 2.933 MB / 1.001 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.9005, allocations: 11.97 kB / 1.001 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/0.9007, allocations: 194.3 kB / 1.001 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005497/0.9062, allocations: 0.9297 MB / 1.002 GB, free: 424 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009946/0.9162, allocations: 5.743 MB / 1.008 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-05/0.9163, allocations: 98.61 kB / 1.008 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.9165, allocations: 136 kB / 1.008 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/0.9196, allocations: 1.593 MB / 1.01 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.9196, allocations: 3.938 kB / 1.01 GB, free: 8.727 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.9198, allocations: 55.98 kB / 1.01 GB, free: 8.672 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.9198, allocations: 54.5 kB / 1.01 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/0.9229, allocations: 1.325 MB / 1.011 GB, free: 7.285 MB / 0.7637 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.01053/0.9335, allocations: 7.602 MB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.9354, allocations: 0.6753 MB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.9361, allocations: 260.7 kB / 1.019 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/0.9364, allocations: 194.2 kB / 1.02 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.9364, allocations: 39.03 kB / 1.02 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/0.9364, allocations: 0 / 1.02 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.002727/0.9391, allocations: 1.042 MB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.9392, allocations: 59.34 kB / 1.021 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/0.9422, allocations: 2.357 MB / 1.023 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.9423, allocations: 37.7 kB / 1.023 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007477/0.9431, allocations: 0.9651 MB / 1.024 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.9432, allocations: 134.3 kB / 1.024 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003526/0.9435, allocations: 250.3 kB / 1.024 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9437, allocations: 357.9 kB / 1.025 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.9448, allocations: 0.5126 MB / 1.025 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.9462, allocations: 0.7894 MB / 1.026 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.9481, allocations: 1.116 MB / 1.027 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.9481, allocations: 7.938 kB / 1.027 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003112/0.9512, allocations: 1.628 MB / 1.029 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.9513, allocations: 8 kB / 1.029 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.9513, allocations: 8.375 kB / 1.029 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.9515, allocations: 36.84 kB / 1.029 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.9526, allocations: 235.7 kB / 1.029 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.9539, allocations: 1.58 MB / 1.03 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.9557, allocations: 242.2 kB / 1.031 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.9557, allocations: 39.98 kB / 1.031 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001875/0.9576, allocations: 1.023 MB / 1.032 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001252/0.9589, allocations: 0.7736 MB / 1.032 GB, free: 124 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001868/0.9608, allocations: 1.1 MB / 1.034 GB, free: 14.93 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.09e-06/0.9608, allocations: 4 kB / 1.034 GB, free: 14.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003228/0.964, allocations: 1.604 MB / 1.035 GB, free: 13.29 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.964, allocations: 8 kB / 1.035 GB, free: 13.28 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.9641, allocations: 8 kB / 1.035 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.9642, allocations: 32.84 kB / 1.035 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.9653, allocations: 239.8 kB / 1.035 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.9665, allocations: 1.56 MB / 1.037 GB, free: 11.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.9681, allocations: 171.3 kB / 1.037 GB, free: 11.13 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.9682, allocations: 36 kB / 1.037 GB, free: 11.1 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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 prepare postOptimizeDAE: time 0.0002699/0.9685, allocations: 239.9 kB / 1.037 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.9687, allocations: 209.2 kB / 1.038 GB, free: 10.65 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.9707, allocations: 0.7629 MB / 1.038 GB, free: 9.852 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9707, allocations: 0 / 1.038 GB, free: 9.852 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.9707, allocations: 4 kB / 1.038 GB, free: 9.848 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.9707, allocations: 0 / 1.038 GB, free: 9.848 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.9746, allocations: 2.161 MB / 1.04 GB, free: 7.586 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9746, allocations: 11.92 kB / 1.04 GB, free: 7.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.9752, allocations: 88 kB / 1.04 GB, free: 7.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.697e-05/0.9753, allocations: 41 kB / 1.041 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.9754, allocations: 11.98 kB / 1.041 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.9764, allocations: 1.554 MB / 1.042 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9764, allocations: 7.938 kB / 1.042 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.978, allocations: 0.8851 MB / 1.043 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/0.9786, allocations: 354.3 kB / 1.043 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.9788, allocations: 11.98 kB / 1.043 GB, free: 4.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.9798, allocations: 67.94 kB / 1.043 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.9798, allocations: 31.84 kB / 1.043 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.9799, allocations: 19.98 kB / 1.043 GB, free: 4.293 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002476/0.9824, allocations: 1.639 MB / 1.045 GB, free: 2.645 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9824, allocations: 0 / 1.045 GB, free: 2.645 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002343/0.9847, allocations: 0.8891 MB / 1.046 GB, free: 1.754 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.2994/1.284, allocations: 1.766 MB / 1.048 GB, free: 326 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004313/1.288, allocations: 1.825 MB / 1.049 GB, free: 325.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.289, allocations: 1.219 kB / 1.049 GB, free: 325.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006611/1.289, allocations: 353.1 kB / 1.05 GB, free: 325.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005153/1.294, allocations: 1.239 MB / 1.051 GB, free: 325.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/1.318, allocations: 14.7 MB / 1.065 GB, free: 319.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.319, allocations: 1.534 MB / 1.067 GB, free: 318.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002007/1.321, allocations: 479.5 kB / 1.067 GB, free: 318.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008587/1.322, allocations: 0.8046 MB / 1.068 GB, free: 317.6 MB / 0.795 GB Notification: Performance of SimCode: time 2.375e-06/1.322, allocations: 0 / 1.068 GB, free: 317.6 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07813/1.4, allocations: 57.14 MB / 1.124 GB, free: 267.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.89, allocations: 0 / 1.124 GB, free: 267.4 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)