Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IDEAS_dev_IDEAS_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.000907/0.000907, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005398/0.005398, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8841/0.8841, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 8.656 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 82.32 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan): time 0.8009/0.9291, allocations: 306.2 MB / 0.8871 GB, free: 20.77 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02505/0.9542, allocations: 27.32 MB / 0.9138 GB, free: 20.55 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.9565, allocations: 71.16 kB / 0.9138 GB, free: 20.55 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.9596, allocations: 1.327 MB / 0.9151 GB, free: 20.53 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006303/0.9659, allocations: 2.808 MB / 0.9179 GB, free: 20.4 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.9715, allocations: 2.357 MB / 0.9202 GB, free: 20.32 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007428/0.979, allocations: 5.989 MB / 0.926 GB, free: 20.31 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.9817, allocations: 1.614 MB / 0.9276 GB, free: 20.04 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004359/0.9861, allocations: 1.963 MB / 0.9295 GB, free: 20.02 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00315/0.9892, allocations: 1.326 MB / 0.9308 GB, free: 20.01 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.9896, allocations: 67.53 kB / 0.9309 GB, free: 20.01 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007057/0.9967, allocations: 3.62 MB / 0.9344 GB, free: 19.98 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008651/0.9976, allocations: 0.4958 MB / 0.9349 GB, free: 19.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.9999, allocations: 0.9954 MB / 0.9359 GB, free: 19.95 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007655/1.008, allocations: 4.671 MB / 0.9404 GB, free: 19.71 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.008, allocations: 3.938 kB / 0.9404 GB, free: 19.71 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.984e-06/1.008, allocations: 3.156 kB / 0.9404 GB, free: 19.71 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.805e-05/1.008, allocations: 4 kB / 0.9404 GB, free: 19.71 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.00316/1.011, allocations: 2.09 MB / 0.9425 GB, free: 18.31 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/1.011, allocations: 12.47 kB / 0.9425 GB, free: 18.31 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/1.011, allocations: 194.3 kB / 0.9427 GB, free: 18.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/1.016, allocations: 0.8583 MB / 0.9435 GB, free: 17.89 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/1.018, allocations: 2.009 MB / 0.9455 GB, free: 17.03 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005892/1.019, allocations: 229 kB / 0.9457 GB, free: 16.98 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/1.019, allocations: 134.2 kB / 0.9458 GB, free: 16.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/1.022, allocations: 1.663 MB / 0.9474 GB, free: 16.52 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/1.022, allocations: 3.938 kB / 0.9474 GB, free: 16.51 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.022, allocations: 57.56 kB / 0.9475 GB, free: 16.51 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/1.022, allocations: 51.81 kB / 0.9476 GB, free: 16.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003367/1.025, allocations: 1.512 MB / 0.949 GB, free: 16.25 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.007414/1.033, allocations: 7.395 MB / 0.9562 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/1.035, allocations: 0.689 MB / 0.9569 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006388/1.035, allocations: 313.2 kB / 0.9572 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/1.035, allocations: 188.3 kB / 0.9574 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/1.035, allocations: 38.48 kB / 0.9574 GB, free: 11.23 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003868/1.036, allocations: 96.19 kB / 0.9575 GB, free: 11.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/1.036, allocations: 0 / 0.9575 GB, free: 11.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=37): time 0.002507/1.038, allocations: 1.329 MB / 0.9588 GB, free: 10.49 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/1.038, allocations: 58.34 kB / 0.9589 GB, free: 10.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/1.041, allocations: 1.856 MB / 0.9607 GB, free: 9.922 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/1.041, allocations: 38.23 kB / 0.9607 GB, free: 9.891 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/1.041, allocations: 0.8293 MB / 0.9615 GB, free: 9.559 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/1.041, allocations: 125.2 kB / 0.9617 GB, free: 9.469 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/1.041, allocations: 57.66 kB / 0.9617 GB, free: 9.445 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/1.041, allocations: 331 kB / 0.962 GB, free: 9.133 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/1.042, allocations: 423 kB / 0.9624 GB, free: 9.055 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/1.044, allocations: 0.6702 MB / 0.9631 GB, free: 8.668 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.045, allocations: 0.8825 MB / 0.964 GB, free: 8.332 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.045, allocations: 7.297 kB / 0.964 GB, free: 8.328 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002645/1.048, allocations: 1.414 MB / 0.9653 GB, free: 7.809 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.149e-05/1.048, allocations: 277.8 kB / 0.9656 GB, free: 7.488 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.048, allocations: 6.594 kB / 0.9656 GB, free: 7.488 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/1.048, allocations: 58.64 kB / 0.9657 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/1.049, allocations: 217.5 kB / 0.9659 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/1.05, allocations: 2.823 MB / 0.9686 GB, free: 4.676 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.052, allocations: 283.2 kB / 0.9689 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/1.052, allocations: 37.98 kB / 0.9689 GB, free: 4.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.03e-06/1.052, allocations: 2.5 kB / 0.9689 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002195/1.055, allocations: 1.162 MB / 0.9701 GB, free: 4.188 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.055, allocations: 6.406 kB / 0.9701 GB, free: 4.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.566e-05/1.055, allocations: 58.2 kB / 0.9701 GB, free: 4.168 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/1.056, allocations: 203.7 kB / 0.9703 GB, free: 4.125 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/1.057, allocations: 2.828 MB / 0.9731 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.058, allocations: 210.5 kB / 0.9733 GB, free: 1.316 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/1.058, allocations: 30.61 kB / 0.9733 GB, free: 1.312 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006836/1.059, allocations: 0.5206 MB / 0.9738 GB, free: 1.098 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/1.059, allocations: 176.4 kB / 0.974 GB, free: 1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/1.061, allocations: 0.937 MB / 0.9749 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.061, allocations: 3.375 kB / 0.9749 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.061, allocations: 6.047 kB / 0.9749 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.061, allocations: 0 / 0.9749 GB, free: 0.5703 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 postOpt removeSimpleEquations (simulation): time 0.002914/1.064, allocations: 2.171 MB / 0.977 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.064, allocations: 2.875 kB / 0.977 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/1.064, allocations: 98.08 kB / 0.9771 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/1.064, allocations: 52.25 kB / 0.9772 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/1.064, allocations: 15.52 kB / 0.9772 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/1.066, allocations: 2.837 MB / 0.98 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.066, allocations: 0 / 0.98 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/1.068, allocations: 0.9948 MB / 0.9809 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/1.068, allocations: 331.1 kB / 0.9813 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/1.068, allocations: 7.281 kB / 0.9813 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.069, allocations: 135 kB / 0.9814 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/1.069, allocations: 29.33 kB / 0.9814 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/1.069, allocations: 20.14 kB / 0.9814 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001982/1.071, allocations: 1.33 MB / 0.9827 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.4e-07/1.071, allocations: 0 / 0.9827 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002075/1.074, allocations: 0.7699 MB / 0.9835 GB, free: 10.19 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.002372/1.076, allocations: 1.751 MB / 0.9852 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003943/1.08, allocations: 1.732 MB / 0.9869 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.08, allocations: 2.531 kB / 0.9869 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008844/1.081, allocations: 0.5044 MB / 0.9874 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004934/1.086, allocations: 0.9599 MB / 0.9883 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02843/1.114, allocations: 14.01 MB / 1.002 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/1.115, allocations: 1.344 MB / 1.003 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001983/1.117, allocations: 378.9 kB / 1.004 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009397/1.118, allocations: 0.6555 MB / 1.004 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/1.118, allocations: 0 / 1.004 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7394/1.858, allocations: 47.07 MB / 1.05 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.858, allocations: 200.3 kB / 1.05 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/4.67, allocations: 6.562 kB / 1.05 GB, free: 5.285 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)