Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.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.001577/0.001577, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001688/0.001688, allocations: 214.9 kB / 23.03 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 207.7 MB / 233.9 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04942/0.04942, allocations: 9.151 MB / 295.3 MB, free: 12.51 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.Validation.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 70.98 kB / 411.8 MB, free: 46.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07726/0.07964, allocations: 50.76 MB / 462.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02127/0.1009, allocations: 15.9 MB / 478.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.1038, allocations: 2.204 MB / 480.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.1038, allocations: 0 / 480.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000906/0.1047, allocations: 347.5 kB / 481 MB, free: 10.02 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.007025/0.1118, allocations: 3.24 MB / 484.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.539e-05/0.1118, allocations: 15.98 kB / 484.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.112, allocations: 183.1 kB / 484.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.1121, allocations: 9.734 kB / 484.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1123, allocations: 99.52 kB / 484.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.764e-05/0.1124, allocations: 67.64 kB / 484.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1124, allocations: 4 kB / 484.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006923/0.1193, allocations: 4.53 MB / 489.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.1193, allocations: 11.94 kB / 489.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1194, allocations: 59.66 kB / 489.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.1244, allocations: 2.221 MB / 491.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1244, allocations: 0 / 491.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1244, allocations: 0 / 491.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1244, allocations: 0 / 491.5 MB, free: 15.56 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001393/0.1258, allocations: 0.6123 MB / 492.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1258, allocations: 11.98 kB / 492.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.067e-05/0.1258, allocations: 4 kB / 492.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.1259, allocations: 42.55 kB / 492.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.126, allocations: 35.88 kB / 492.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.1262, allocations: 128.9 kB / 492.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1262, allocations: 4 kB / 492.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1262, allocations: 4 kB / 492.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.1265, allocations: 166.5 kB / 492.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1265, allocations: 0 / 492.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1266, allocations: 7.938 kB / 492.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1266, allocations: 3.984 kB / 492.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.127, allocations: 200.2 kB / 492.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.1272, allocations: 245.7 kB / 492.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1275, allocations: 150.7 kB / 493.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.1278, allocations: 137.1 kB / 493.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01731/0.1451, allocations: 3.636 MB / 496.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1451, allocations: 34.56 kB / 496.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.1451, allocations: 0 / 496.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009065/0.146, allocations: 472.6 kB / 497.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.1461, allocations: 55.34 kB / 497.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1462, allocations: 136.5 kB / 497.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1462, allocations: 29.7 kB / 497.5 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.1463, allocations: 88.8 kB / 497.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1464, allocations: 111 kB / 497.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.1464, allocations: 33.7 kB / 497.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1466, allocations: 326.8 kB / 498.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.1468, allocations: 123.9 kB / 498.2 MB, free: 8.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.147, allocations: 128.8 kB / 498.3 MB, free: 8.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.1474, allocations: 315.9 kB / 498.6 MB, free: 8.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1474, allocations: 0 / 498.6 MB, free: 8.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005253/0.148, allocations: 347.5 kB / 499 MB, free: 7.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.148, allocations: 4 kB / 499 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.148, allocations: 4 kB / 499 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.148, allocations: 0 / 499 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1481, allocations: 27.91 kB / 499 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1481, allocations: 7.938 kB / 499 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1482, allocations: 27.77 kB / 499 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1483, allocations: 0 / 499 MB, free: 7.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.561e-05/0.1484, allocations: 113.8 kB / 499.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1484, allocations: 15.91 kB / 499.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/0.149, allocations: 393 kB / 499.6 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.149, allocations: 11.98 kB / 499.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.149, allocations: 3.938 kB / 499.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.149, allocations: 0 / 499.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.1493, allocations: 237.1 kB / 499.8 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1493, allocations: 0 / 499.8 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1494, allocations: 23.97 kB / 499.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1494, allocations: 4 kB / 499.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1494, allocations: 0 / 499.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1494, allocations: 0 / 499.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1494, allocations: 3.938 kB / 499.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.1499, allocations: 383 kB / 0.4885 GB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.15, allocations: 23.83 kB / 0.4885 GB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.15, allocations: 0 / 0.4885 GB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1501, allocations: 19.98 kB / 0.4885 GB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1502, allocations: 11.92 kB / 0.4885 GB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1502, allocations: 0 / 0.4885 GB, free: 6.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.787e-05/0.1502, allocations: 107.2 kB / 0.4886 GB, free: 6.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1502, allocations: 0 / 0.4886 GB, free: 6.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001422/0.1517, allocations: 494.6 kB / 0.4891 GB, free: 5.875 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003051/0.1547, allocations: 1.533 MB / 0.4906 GB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005437/0.1553, allocations: 271.9 kB / 0.4909 GB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1553, allocations: 0 / 0.4909 GB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.1555, allocations: 139.9 kB / 0.491 GB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.156, allocations: 75.08 kB / 0.4911 GB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.1591, allocations: 2.431 MB / 0.4934 GB, free: 1.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.751e-05/0.1592, allocations: 106.1 kB / 0.4936 GB, free: 1.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.1593, allocations: 27.94 kB / 0.4936 GB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.1593, allocations: 35.44 kB / 0.4936 GB, free: 1.145 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1593, allocations: 4 kB / 0.4936 GB, free: 1.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05591/0.2152, allocations: 23.24 MB / 0.5163 GB, free: 9.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.75, allocations: 4.062 kB / 0.5163 GB, free: 9.918 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.382937800954096] Failed to read output from testmodel.py, exit status != 0: 11.917179198935628 12.082510628 11.95540518 Calling exit ...