Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009129/0.0009129, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8772/0.8772, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6868/0.6868, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.637e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01012/0.01014, allocations: 13.76 MB / 0.6315 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.01316, allocations: 3.503 MB / 0.6349 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.01338, allocations: 19.88 kB / 0.635 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.01376, allocations: 182.6 kB / 0.6351 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006526/0.01442, allocations: 417.6 kB / 0.6355 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.015, allocations: 384.8 kB / 0.6359 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.01559, allocations: 0.7879 MB / 0.6367 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.01588, allocations: 228.6 kB / 0.6369 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006388/0.01652, allocations: 0.5721 MB / 0.6374 GB, free: 9.797 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.01671, allocations: 187.4 kB / 0.6376 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.01699, allocations: 24 kB / 0.6376 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.01727, allocations: 191.5 kB / 0.6378 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.01734, allocations: 79.67 kB / 0.6379 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.01742, allocations: 107.8 kB / 0.638 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.01784, allocations: 434.6 kB / 0.6384 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01784, allocations: 0 / 0.6384 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01784, allocations: 0 / 0.6384 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.01785, allocations: 0 / 0.6384 GB, free: 8.793 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006155/0.01846, allocations: 0.5361 MB / 0.6389 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.0185, allocations: 8.031 kB / 0.6389 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.01854, allocations: 54.73 kB / 0.639 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.01859, allocations: 32.75 kB / 0.639 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.01894, allocations: 269.1 kB / 0.6393 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.01896, allocations: 20.88 kB / 0.6393 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.01898, allocations: 20.38 kB / 0.6393 GB, free: 7.801 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.01935, allocations: 310.2 kB / 0.6396 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.01936, allocations: 192 / 0.6396 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.01938, allocations: 15.94 kB / 0.6396 GB, free: 7.461 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.01939, allocations: 4 kB / 0.6396 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.01966, allocations: 181.4 kB / 0.6398 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.02043, allocations: 0.7039 MB / 0.6405 GB, free: 6.531 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.02061, allocations: 133.1 kB / 0.6406 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.02072, allocations: 93.58 kB / 0.6407 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.02084, allocations: 47.97 kB / 0.6408 GB, free: 6.238 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.02087, allocations: 38.5 kB / 0.6408 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.02087, allocations: 4 kB / 0.6408 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004377/0.02131, allocations: 257.5 kB / 0.6411 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.02134, allocations: 81.11 kB / 0.6411 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.02151, allocations: 268.2 kB / 0.6414 GB, free: 5.566 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.02153, allocations: 29.7 kB / 0.6414 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.02161, allocations: 176.3 kB / 0.6416 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.02163, allocations: 35.69 kB / 0.6416 GB, free: 5.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.02167, allocations: 37.59 kB / 0.6417 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.02175, allocations: 338.8 kB / 0.642 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.02185, allocations: 59.94 kB / 0.642 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.02201, allocations: 276.2 kB / 0.6423 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.02222, allocations: 176.1 kB / 0.6425 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02222, allocations: 0 / 0.6425 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002638/0.02249, allocations: 213.3 kB / 0.6427 GB, free: 4.148 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.0225, allocations: 7.938 kB / 0.6427 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.0225, allocations: 4 kB / 0.6427 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.02251, allocations: 0 / 0.6427 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.02265, allocations: 60.03 kB / 0.6427 GB, free: 4.078 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.02266, allocations: 4 kB / 0.6427 GB, free: 4.074 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.02275, allocations: 27.81 kB / 0.6428 GB, free: 4.047 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.02277, allocations: 11.98 kB / 0.6428 GB, free: 4.035 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 9.271e-05/0.02286, allocations: 142.8 kB / 0.6429 GB, free: 3.887 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.0229, allocations: 27.8 kB / 0.6429 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.0231, allocations: 189.7 kB / 0.6431 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.02311, allocations: 4 kB / 0.6431 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.02311, allocations: 4.375 kB / 0.6431 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.02312, allocations: 0 / 0.6431 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.02361, allocations: 0.5592 MB / 0.6437 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.02361, allocations: 8 kB / 0.6437 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.02373, allocations: 43.95 kB / 0.6437 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.02374, allocations: 4 kB / 0.6437 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.02375, allocations: 8.125 kB / 0.6437 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.02375, allocations: 11.92 kB / 0.6437 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.02375, allocations: 96 / 0.6437 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.02408, allocations: 443.7 kB / 0.6442 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.02414, allocations: 55.66 kB / 0.6442 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.02415, allocations: 4 kB / 0.6442 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.02427, allocations: 23.97 kB / 0.6442 GB, free: 2.426 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.02431, allocations: 15.92 kB / 0.6443 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.02433, allocations: 15.98 kB / 0.6443 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003439/0.02467, allocations: 195 kB / 0.6445 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02467, allocations: 0 / 0.6445 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002834/0.02496, allocations: 87.77 kB / 0.6446 GB, free: 2.125 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006674/0.02562, allocations: 1.05 MB / 0.6456 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.02592, allocations: 175.9 kB / 0.6457 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.02592, allocations: 0 / 0.6457 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.02606, allocations: 107.9 kB / 0.6458 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.02654, allocations: 117.4 kB / 0.646 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.02863, allocations: 2.641 MB / 0.6485 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.02874, allocations: 170.7 kB / 0.6487 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000119/0.02886, allocations: 49.31 kB / 0.6487 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.02895, allocations: 92.47 kB / 0.6488 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of SimCode: time 4e-07/0.02895, allocations: 0 / 0.6488 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.0487, allocations: 9.189 MB / 0.6578 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.322, allocations: 8.047 kB / 0.6578 GB, free: 4.641 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.914227833971381] Failed to read output from testmodel.py, exit status != 0: 7.404945824295282 7.415008607 7.395083728 Calling exit ...