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.0009221/0.000922, allocations: 98.03 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.005218/0.005218, allocations: 172.1 kB / 16.27 MB, free: 6.648 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.265/1.265, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7332/0.7332, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003047, allocations: 8.781 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3219, allocations: 81.57 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan): time 0.5163/0.8382, allocations: 306.2 MB / 0.8828 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02361/0.8619, allocations: 27.32 MB / 0.9095 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.8641, allocations: 69.5 kB / 0.9095 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.867, allocations: 1.334 MB / 0.9108 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.8724, allocations: 2.811 MB / 0.9136 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004497/0.8769, allocations: 2.349 MB / 0.9159 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004757/0.8817, allocations: 5.986 MB / 0.9217 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.8833, allocations: 1.613 MB / 0.9233 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.8861, allocations: 1.968 MB / 0.9252 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.8878, allocations: 1.335 MB / 0.9265 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.8879, allocations: 67.47 kB / 0.9266 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004748/0.8927, allocations: 3.618 MB / 0.9301 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.893, allocations: 0.4943 MB / 0.9306 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007364/0.8938, allocations: 1.005 MB / 0.9316 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003578/0.8974, allocations: 4.659 MB / 0.9361 GB, free: 260 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.8974, allocations: 0 / 0.9361 GB, free: 260 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8974, allocations: 3.375 kB / 0.9361 GB, free: 260 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.8974, allocations: 0 / 0.9361 GB, free: 260 kB / 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.002865/0.9003, allocations: 2.098 MB / 0.9382 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.9003, allocations: 9.969 kB / 0.9382 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.9005, allocations: 196.5 kB / 0.9384 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.9053, allocations: 0.8584 MB / 0.9392 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.9081, allocations: 2.002 MB / 0.9412 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006587/0.9088, allocations: 231.4 kB / 0.9414 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.9089, allocations: 133.3 kB / 0.9415 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/0.912, allocations: 1.664 MB / 0.9431 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.912, allocations: 0 / 0.9431 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.9122, allocations: 56.81 kB / 0.9432 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.9122, allocations: 62.31 kB / 0.9432 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.9157, allocations: 1.51 MB / 0.9447 GB, free: 10.86 MB / 0.6544 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.009163/0.9249, allocations: 7.394 MB / 0.9519 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.9272, allocations: 0.7068 MB / 0.9526 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.9279, allocations: 296.7 kB / 0.9529 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.9282, allocations: 190.2 kB / 0.9531 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.9282, allocations: 38.56 kB / 0.9531 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004318/0.9286, allocations: 86.86 kB / 0.9532 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.9286, allocations: 0 / 0.9532 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.002921/0.9316, allocations: 1.332 MB / 0.9545 GB, free: 332 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.9316, allocations: 55.41 kB / 0.9546 GB, free: 264 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.9342, allocations: 1.871 MB / 0.9564 GB, free: 14.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.9343, allocations: 37.7 kB / 0.9564 GB, free: 14.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/0.9349, allocations: 0.8194 MB / 0.9572 GB, free: 13.48 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.935, allocations: 133.2 kB / 0.9574 GB, free: 13.35 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.9351, allocations: 53.69 kB / 0.9574 GB, free: 13.29 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9352, allocations: 334 kB / 0.9577 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.9365, allocations: 421.1 kB / 0.9581 GB, free: 12.54 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.9378, allocations: 0.6731 MB / 0.9588 GB, free: 11.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.9398, allocations: 0.8798 MB / 0.9596 GB, free: 10.83 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.9398, allocations: 0 / 0.9596 GB, free: 10.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003065/0.9429, allocations: 1.421 MB / 0.961 GB, free: 9.395 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.9431, allocations: 275.3 kB / 0.9613 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9431, allocations: 11.98 kB / 0.9613 GB, free: 9.027 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.9433, allocations: 57.69 kB / 0.9614 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.9443, allocations: 222.8 kB / 0.9616 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.9462, allocations: 2.83 MB / 0.9643 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.948, allocations: 276.3 kB / 0.9646 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/0.9481, allocations: 35.98 kB / 0.9646 GB, free: 5.379 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-06/0.9481, allocations: 4 kB / 0.9646 GB, free: 5.375 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002526/0.9507, allocations: 1.159 MB / 0.9658 GB, free: 4.215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9507, allocations: 8 kB / 0.9658 GB, free: 4.207 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.9508, allocations: 61.62 kB / 0.9658 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/0.9517, allocations: 204.4 kB / 0.966 GB, free: 3.949 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.9535, allocations: 2.817 MB / 0.9688 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.9549, allocations: 208.4 kB / 0.969 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.955, allocations: 35.98 kB / 0.969 GB, free: 0.6445 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.0006395/0.9556, allocations: 0.5211 MB / 0.9695 GB, free: 124 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.9558, allocations: 165.9 kB / 0.9697 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.9577, allocations: 0.9351 MB / 0.9706 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.9577, allocations: 4 kB / 0.9706 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.9577, allocations: 0 / 0.9706 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.9577, allocations: 7.984 kB / 0.9706 GB, free: 14.96 MB / 0.6856 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.003296/0.961, allocations: 2.18 MB / 0.9727 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.961, allocations: 3.938 kB / 0.9727 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.9616, allocations: 97.48 kB / 0.9728 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.9618, allocations: 53.69 kB / 0.9729 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.9618, allocations: 15.98 kB / 0.9729 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.9636, allocations: 2.818 MB / 0.9757 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.9636, allocations: 8.016 kB / 0.9757 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.9653, allocations: 0.9953 MB / 0.9766 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.9657, allocations: 338.7 kB / 0.977 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.9659, allocations: 8 kB / 0.977 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.967, allocations: 139.7 kB / 0.9771 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.9671, allocations: 27.97 kB / 0.9771 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.9671, allocations: 19.97 kB / 0.9771 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001973/0.9691, allocations: 1.329 MB / 0.9784 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9691, allocations: 0 / 0.9784 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001941/0.9711, allocations: 0.7679 MB / 0.9792 GB, free: 5.703 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.002328/0.9734, allocations: 1.74 MB / 0.9809 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003645/0.9771, allocations: 1.749 MB / 0.9826 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9771, allocations: 1.125 kB / 0.9826 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008227/0.9779, allocations: 0.4947 MB / 0.9831 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/0.982, allocations: 0.9592 MB / 0.984 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/1.008, allocations: 14.02 MB / 0.9977 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/1.009, allocations: 1.34 MB / 0.999 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00171/1.011, allocations: 382.9 kB / 0.9994 GB, free: 136 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008586/1.012, allocations: 0.6561 MB / 1 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/1.012, allocations: 0 / 1 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.353/2.365, allocations: 47.06 MB / 1.046 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/2.365, allocations: 200 kB / 1.046 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/5.169, allocations: 4 kB / 1.046 GB, free: 0.8203 MB / 0.7481 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/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)