Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.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.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",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.007604/0.007604, allocations: 101 kB / 15.73 MB, free: 5.586 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.001702/0.001702, allocations: 187.8 kB / 16.67 MB, free: 5.523 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.754/0.754, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 61.22 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1396, allocations: 80.21 MB / 0.6592 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5605/0.7001, allocations: 214.1 MB / 0.8682 GB, free: 148 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01388/0.714, allocations: 12.15 MB / 0.8801 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.7159, allocations: 43.69 kB / 0.8801 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.7173, allocations: 0.5197 MB / 0.8806 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004665/0.7219, allocations: 1.956 MB / 0.8825 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.7263, allocations: 1.937 MB / 0.8844 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003072/0.7294, allocations: 2.36 MB / 0.8867 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.731, allocations: 1.223 MB / 0.8879 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.7325, allocations: 0.8405 MB / 0.8888 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008329/0.7334, allocations: 0.6651 MB / 0.8894 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.7335, allocations: 92 kB / 0.8895 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005716/0.7392, allocations: 2.711 MB / 0.8921 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.7397, allocations: 0.5415 MB / 0.8927 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007529/0.7405, allocations: 0.7348 MB / 0.8934 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.7451, allocations: 3.14 MB / 0.8964 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7451, allocations: 4 kB / 0.8965 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7451, allocations: 0 / 0.8965 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.7451, allocations: 0 / 0.8965 GB, free: 3.141 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002171/0.7473, allocations: 1.76 MB / 0.8982 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.7473, allocations: 12.03 kB / 0.8982 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.7475, allocations: 160.8 kB / 0.8983 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.7491, allocations: 373.8 kB / 0.8987 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.7504, allocations: 0.962 MB / 0.8996 GB, free: 15.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.7505, allocations: 78.06 kB / 0.8997 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7506, allocations: 104 kB / 0.8998 GB, free: 15.59 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.7524, allocations: 1.526 MB / 0.9013 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.7525, allocations: 15.88 kB / 0.9013 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.227e-05/0.7526, allocations: 47.83 kB / 0.9014 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/0.7526, allocations: 61.53 kB / 0.9014 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.7539, allocations: 1.023 MB / 0.9024 GB, free: 12.82 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.005274/0.7592, allocations: 5.844 MB / 0.9081 GB, free: 6.656 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.7598, allocations: 322.3 kB / 0.9084 GB, free: 6.305 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.76, allocations: 251.4 kB / 0.9087 GB, free: 6.047 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/0.7607, allocations: 0.7039 MB / 0.9094 GB, free: 5.195 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.7607, allocations: 46.5 kB / 0.9094 GB, free: 5.141 MB / 0.67 GB Notification: Performance of pre-optimization done (n=28): time 3.396e-06/0.7608, allocations: 0 / 0.9094 GB, free: 5.141 MB / 0.67 GB Notification: Performance of matching and sorting (n=28): time 0.001177/0.7619, allocations: 0.6674 MB / 0.9101 GB, free: 4.465 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.762, allocations: 144.6 kB / 0.9102 GB, free: 4.293 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.7638, allocations: 1.682 MB / 0.9118 GB, free: 2.602 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.7638, allocations: 33.7 kB / 0.9119 GB, free: 2.562 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.7643, allocations: 0.5505 MB / 0.9124 GB, free: 2.008 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.7644, allocations: 102.5 kB / 0.9125 GB, free: 1.906 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.7645, allocations: 65.69 kB / 0.9126 GB, free: 1.836 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.7646, allocations: 318 kB / 0.9129 GB, free: 1.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.7648, allocations: 155.9 kB / 0.913 GB, free: 1.367 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.7651, allocations: 272.9 kB / 0.9133 GB, free: 1.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.7655, allocations: 405.8 kB / 0.9137 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7655, allocations: 0 / 0.9137 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006665/0.7662, allocations: 0.5466 MB / 0.9142 GB, free: 92 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7662, allocations: 8 kB / 0.9142 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.7662, allocations: 4.781 kB / 0.9142 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.7662, allocations: 7.938 kB / 0.9142 GB, free: 72 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.7665, allocations: 55.91 kB / 0.9143 GB, free: 16 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.7665, allocations: 4 kB / 0.9143 GB, free: 12 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.767, allocations: 110.5 kB / 0.9144 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.767, allocations: 19.94 kB / 0.9144 GB, free: 15.88 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004027/0.7674, allocations: 373.6 kB / 0.9148 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.7676, allocations: 142.2 kB / 0.9149 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.7682, allocations: 388.7 kB / 0.9153 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.7682, allocations: 7.938 kB / 0.9153 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7682, allocations: 64 / 0.9153 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7682, allocations: 4 kB / 0.9153 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.7712, allocations: 2.529 MB / 0.9177 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.7712, allocations: 7.938 kB / 0.9177 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.7714, allocations: 47.92 kB / 0.9178 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.7714, allocations: 8 kB / 0.9178 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.7714, allocations: 12 kB / 0.9178 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.7714, allocations: 11.94 kB / 0.9178 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.7714, allocations: 15.92 kB / 0.9178 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.772, allocations: 0.6188 MB / 0.9184 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.7724, allocations: 295.2 kB / 0.9187 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.7725, allocations: 16 kB / 0.9187 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.7729, allocations: 8 kB / 0.9187 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.7729, allocations: 39.78 kB / 0.9188 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.7729, allocations: 23.94 kB / 0.9188 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001352/0.7743, allocations: 1.223 MB / 0.92 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7743, allocations: 0 / 0.92 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008889/0.7752, allocations: 327.8 kB / 0.9203 GB, free: 9.488 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/0.7774, allocations: 1.652 MB / 0.9219 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.7779, allocations: 355.6 kB / 0.9223 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.7779, allocations: 7.938 kB / 0.9223 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.7781, allocations: 161 kB / 0.9224 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/0.7813, allocations: 0.9232 MB / 0.9233 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.7935, allocations: 10.47 MB / 0.9336 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.7943, allocations: 1.212 MB / 0.9347 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009515/0.7953, allocations: 298.7 kB / 0.935 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/0.7958, allocations: 467.3 kB / 0.9355 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of SimCode: time 1.332e-06/0.7958, allocations: 3.938 kB / 0.9355 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07118/0.867, allocations: 44.02 MB / 0.9785 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.1, allocations: 6.016 kB / 0.9785 GB, free: 13.8 MB / 0.7481 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)