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.0009393/0.0009391, allocations: 99.86 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.0009991/0.0009991, 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 1.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9157/0.9157, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003633, allocations: 13.66 kB / 0.5069 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2005, allocations: 82.31 MB / 0.5873 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan): time 0.6306/0.8312, allocations: 253.1 MB / 0.8344 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02886/0.8601, allocations: 24.02 MB / 0.8579 GB, free: 7.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.8625, allocations: 67.56 kB / 0.858 GB, free: 7.004 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.8659, allocations: 0.9954 MB / 0.8589 GB, free: 6.004 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007584/0.8735, allocations: 2.944 MB / 0.8618 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004639/0.8782, allocations: 1.909 MB / 0.8637 GB, free: 1.164 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.4053/1.284, allocations: 2.84 MB / 0.8664 GB, free: 25.76 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/1.286, allocations: 1.414 MB / 0.8678 GB, free: 25.62 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/1.29, allocations: 1.604 MB / 0.8694 GB, free: 25.62 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/1.292, allocations: 0.8677 MB / 0.8702 GB, free: 25.61 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004546/1.292, allocations: 66.72 kB / 0.8703 GB, free: 25.61 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/1.297, allocations: 1.672 MB / 0.8719 GB, free: 25.61 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007898/1.298, allocations: 449.7 kB / 0.8724 GB, free: 25.61 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/1.299, allocations: 464.2 kB / 0.8728 GB, free: 25.58 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005927/1.305, allocations: 3.224 MB / 0.876 GB, free: 25.38 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.305, allocations: 0 / 0.876 GB, free: 25.38 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/1.305, allocations: 0 / 0.876 GB, free: 25.38 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.008e-05/1.305, allocations: 0 / 0.876 GB, free: 25.38 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.003856/1.309, allocations: 2.071 MB / 0.878 GB, free: 24.21 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.309, allocations: 10.28 kB / 0.878 GB, free: 24.21 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002643/1.309, allocations: 187.6 kB / 0.8782 GB, free: 24.17 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005007/1.314, allocations: 0.871 MB / 0.879 GB, free: 24.03 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/1.318, allocations: 1.925 MB / 0.8809 GB, free: 23.63 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006818/1.319, allocations: 236.6 kB / 0.8811 GB, free: 23.61 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/1.319, allocations: 130.6 kB / 0.8812 GB, free: 23.61 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00344/1.323, allocations: 1.652 MB / 0.8829 GB, free: 23.43 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/1.323, allocations: 0.9688 kB / 0.8829 GB, free: 23.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/1.323, allocations: 54.91 kB / 0.8829 GB, free: 23.43 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/1.323, allocations: 46.72 kB / 0.883 GB, free: 23.42 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/1.326, allocations: 1.503 MB / 0.8844 GB, free: 23.38 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.01271/1.339, allocations: 7.389 MB / 0.8916 GB, free: 19.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/1.343, allocations: 0.7329 MB / 0.8924 GB, free: 19.89 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-05/1.343, allocations: 14.28 kB / 0.8924 GB, free: 19.89 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/1.343, allocations: 42.16 kB / 0.8924 GB, free: 19.84 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001078/1.344, allocations: 96.67 kB / 0.8925 GB, free: 19.78 MB / 0.67 GB Notification: Performance of pre-optimization done (n=37): time 3.267e-06/1.344, allocations: 0 / 0.8925 GB, free: 19.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=37): time 0.003985/1.348, allocations: 1.322 MB / 0.8938 GB, free: 19.24 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/1.348, allocations: 54.75 kB / 0.8938 GB, free: 19.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/1.352, allocations: 1.858 MB / 0.8957 GB, free: 18.94 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/1.352, allocations: 37.16 kB / 0.8957 GB, free: 18.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006396/1.352, allocations: 0.8159 MB / 0.8965 GB, free: 18.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.352, allocations: 133.7 kB / 0.8966 GB, free: 18.58 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/1.353, allocations: 12.06 kB / 0.8966 GB, free: 18.58 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/1.353, allocations: 337.5 kB / 0.897 GB, free: 18.27 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/1.354, allocations: 413.1 kB / 0.8974 GB, free: 18.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/1.355, allocations: 0.6596 MB / 0.898 GB, free: 17.94 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.357, allocations: 448 kB / 0.8984 GB, free: 17.92 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.357, allocations: 5.719 kB / 0.8984 GB, free: 17.92 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00348/1.36, allocations: 1.406 MB / 0.8998 GB, free: 17.55 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004296/1.361, allocations: 2.557 MB / 0.9023 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.361, allocations: 5.25 kB / 0.9023 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/1.361, allocations: 60.23 kB / 0.9024 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.362, allocations: 217.2 kB / 0.9026 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/1.364, allocations: 2.824 MB / 0.9053 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/1.366, allocations: 277.2 kB / 0.9056 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.366, allocations: 37.89 kB / 0.9056 GB, free: 12.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/1.366, allocations: 3.781 kB / 0.9056 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002653/1.369, allocations: 1.148 MB / 0.9067 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.369, allocations: 10.64 kB / 0.9068 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/1.369, allocations: 72.69 kB / 0.9068 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/1.37, allocations: 197 kB / 0.907 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/1.372, allocations: 2.824 MB / 0.9098 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.374, allocations: 216.3 kB / 0.91 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/1.374, allocations: 29.98 kB / 0.91 GB, free: 9.191 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 (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.001172/1.375, allocations: 0.5218 MB / 0.9105 GB, free: 9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/1.375, allocations: 174.2 kB / 0.9107 GB, free: 8.906 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/1.377, allocations: 0.9303 MB / 0.9116 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.377, allocations: 6.125 kB / 0.9116 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.377, allocations: 0.9375 kB / 0.9116 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/1.377, allocations: 2.547 kB / 0.9116 GB, free: 8.609 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.004124/1.382, allocations: 2.242 MB / 0.9138 GB, free: 7.961 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.382, allocations: 1.688 kB / 0.9138 GB, free: 7.961 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/1.382, allocations: 95.66 kB / 0.9139 GB, free: 7.961 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/1.382, allocations: 57.38 kB / 0.9139 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/1.383, allocations: 12.72 kB / 0.914 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/1.384, allocations: 2.828 MB / 0.9167 GB, free: 5.266 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.384, allocations: 3.812 kB / 0.9167 GB, free: 5.266 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/1.387, allocations: 1.06 MB / 0.9178 GB, free: 4.684 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000992/1.388, allocations: 332.2 kB / 0.9181 GB, free: 4.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/1.388, allocations: 9.469 kB / 0.9181 GB, free: 4.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.389, allocations: 144.1 kB / 0.9182 GB, free: 4.477 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/1.389, allocations: 23.05 kB / 0.9182 GB, free: 4.477 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/1.389, allocations: 20.22 kB / 0.9183 GB, free: 4.477 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002566/1.392, allocations: 1.317 MB / 0.9195 GB, free: 4.32 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.4e-07/1.392, allocations: 4 kB / 0.9195 GB, free: 4.316 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003407/1.395, allocations: 0.7584 MB / 0.9203 GB, free: 4.227 MB / 0.67 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.002811/1.398, allocations: 2.059 MB / 0.9223 GB, free: 18.85 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003943/1.402, allocations: 1.726 MB / 0.924 GB, free: 18.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.402, allocations: 0 / 0.924 GB, free: 18.36 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008468/1.403, allocations: 0.5055 MB / 0.9245 GB, free: 18.13 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/1.408, allocations: 0.9663 MB / 0.9254 GB, free: 18.04 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008905/1.416, allocations: 8.611 MB / 0.9338 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.418, allocations: 1.376 MB / 0.9352 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002544/1.42, allocations: 375.1 kB / 0.9355 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.421, allocations: 0.6537 MB / 0.9362 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of SimCode: time 8.92e-07/1.421, allocations: 0 / 0.9362 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09549/1.517, allocations: 47.88 MB / 0.9829 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/1.517, allocations: 177.8 kB / 0.9831 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/4.596, allocations: 4 kB / 0.9831 GB, free: 10.41 MB / 0.7169 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/linux/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) Environment - environmentSimulation: