Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Validation.HeaterFan,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IDEAS_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.0009063/0.0009063, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001005/0.001005, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7774/0.7774, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 8 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4632, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan): time 0.6681/1.131, allocations: 285.5 MB / 0.862 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.027/1.158, allocations: 25.57 MB / 0.8869 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/1.162, allocations: 69.81 kB / 0.887 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003427/1.165, allocations: 0.9676 MB / 0.888 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006676/1.172, allocations: 2.189 MB / 0.8901 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005038/1.177, allocations: 1.737 MB / 0.8918 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006396/1.183, allocations: 5.119 MB / 0.8968 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00358/1.187, allocations: 1.386 MB / 0.8981 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006133/1.193, allocations: 1.81 MB / 0.8999 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003437/1.196, allocations: 1.248 MB / 0.9011 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007176/1.197, allocations: 66.34 kB / 0.9012 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006455/1.204, allocations: 2.012 MB / 0.9032 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/1.205, allocations: 494.6 kB / 0.9036 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009589/1.206, allocations: 463.7 kB / 0.9041 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004787/1.21, allocations: 3.403 MB / 0.9074 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.211, allocations: 2.938 kB / 0.9074 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.474e-06/1.211, allocations: 4 kB / 0.9074 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.256e-05/1.211, allocations: 1.75 kB / 0.9074 GB, free: 22.27 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003828/1.214, allocations: 2.114 MB / 0.9095 GB, free: 20.87 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/1.214, allocations: 13.06 kB / 0.9095 GB, free: 20.86 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003535/1.215, allocations: 195.3 kB / 0.9097 GB, free: 20.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00467/1.22, allocations: 0.858 MB / 0.9105 GB, free: 20.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/1.223, allocations: 1.947 MB / 0.9124 GB, free: 19.64 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005838/1.223, allocations: 243.9 kB / 0.9126 GB, free: 19.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/1.224, allocations: 130.8 kB / 0.9128 GB, free: 19.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/1.227, allocations: 1.655 MB / 0.9144 GB, free: 19.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/1.227, allocations: 4 kB / 0.9144 GB, free: 19.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/1.227, allocations: 53.66 kB / 0.9144 GB, free: 19.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/1.227, allocations: 46.39 kB / 0.9145 GB, free: 19.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/1.23, allocations: 1.496 MB / 0.9159 GB, free: 18.86 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.008938/1.239, allocations: 7.394 MB / 0.9232 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/1.241, allocations: 0.6932 MB / 0.9238 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/1.242, allocations: 298.7 kB / 0.9241 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/1.242, allocations: 195.4 kB / 0.9243 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/1.242, allocations: 37.19 kB / 0.9243 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006845/1.243, allocations: 97.36 kB / 0.9244 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 3.457e-06/1.243, allocations: 3.938 kB / 0.9244 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.002809/1.246, allocations: 1.325 MB / 0.9257 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/1.246, allocations: 56.44 kB / 0.9258 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/1.249, allocations: 1.846 MB / 0.9276 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/1.249, allocations: 35.89 kB / 0.9276 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006073/1.25, allocations: 0.8215 MB / 0.9284 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/1.25, allocations: 137.8 kB / 0.9286 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/1.25, allocations: 9.812 kB / 0.9286 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/1.25, allocations: 332.9 kB / 0.9289 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/1.251, allocations: 413 kB / 0.9293 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/1.252, allocations: 0.6514 MB / 0.9299 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/1.253, allocations: 452.3 kB / 0.9303 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.253, allocations: 3.344 kB / 0.9303 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002799/1.256, allocations: 1.394 MB / 0.9317 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.256, allocations: 283.7 kB / 0.932 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.256, allocations: 13.61 kB / 0.932 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/1.257, allocations: 56.95 kB / 0.932 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.258, allocations: 216.9 kB / 0.9323 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/1.259, allocations: 2.824 MB / 0.935 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.261, allocations: 278.7 kB / 0.9353 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/1.261, allocations: 31.92 kB / 0.9353 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/1.261, allocations: 4 kB / 0.9353 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002156/1.263, allocations: 1.155 MB / 0.9364 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.263, allocations: 8.266 kB / 0.9364 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/1.263, allocations: 59.2 kB / 0.9365 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/1.264, allocations: 205.7 kB / 0.9367 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/1.266, allocations: 2.815 MB / 0.9394 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/1.267, allocations: 217.1 kB / 0.9397 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/1.267, allocations: 34.36 kB / 0.9397 GB, free: 2.879 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008228/1.268, allocations: 0.5204 MB / 0.9402 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/1.268, allocations: 165.9 kB / 0.9404 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/1.27, allocations: 0.9361 MB / 0.9413 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.27, allocations: 9.797 kB / 0.9413 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.27, allocations: 7.984 kB / 0.9413 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/1.27, allocations: 0 / 0.9413 GB, free: 1.59 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 postOpt removeSimpleEquations (simulation): time 0.003745/1.274, allocations: 2.172 MB / 0.9434 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.274, allocations: 0 / 0.9434 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/1.275, allocations: 97.28 kB / 0.9435 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/1.275, allocations: 55.62 kB / 0.9436 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/1.275, allocations: 14.48 kB / 0.9436 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/1.277, allocations: 2.818 MB / 0.9463 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.277, allocations: 0 / 0.9463 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.279, allocations: 0.9924 MB / 0.9473 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008533/1.28, allocations: 329.8 kB / 0.9476 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/1.28, allocations: 13.83 kB / 0.9476 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.281, allocations: 141.1 kB / 0.9477 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/1.282, allocations: 32.09 kB / 0.9478 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/1.282, allocations: 19.59 kB / 0.9478 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002703/1.284, allocations: 1.31 MB / 0.9491 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/1.284, allocations: 0 / 0.9491 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002796/1.287, allocations: 0.7699 MB / 0.9498 GB, free: 9.816 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002699/1.29, allocations: 1.745 MB / 0.9515 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003681/1.294, allocations: 1.719 MB / 0.9532 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.294, allocations: 0 / 0.9532 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008395/1.294, allocations: 0.4993 MB / 0.9537 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/1.299, allocations: 0.9645 MB / 0.9546 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/1.326, allocations: 10.64 MB / 0.965 GB, free: 12.14 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.327, allocations: 1.34 MB / 0.9663 GB, free: 10.83 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002128/1.329, allocations: 378.9 kB / 0.9667 GB, free: 10.46 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009849/1.33, allocations: 0.6514 MB / 0.9673 GB, free: 10.29 MB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/1.33, allocations: 4 kB / 0.9673 GB, free: 10.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08242/1.413, allocations: 49.27 MB / 1.015 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.413, allocations: 184.9 kB / 1.016 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/4.269, allocations: 0 / 1.016 GB, free: 9.488 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_HeaterFan.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) Environment - environmentSimulation: