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.001457/0.001457, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.001557/0.001557, allocations: 215 kB / 20.13 MB, free: 2.949 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.316/1.316, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 179] 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.0484/0.0484, allocations: 9.137 MB / 291.5 MB, free: 7.18 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.002076/0.002076, allocations: 63.91 kB / 406.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2552, allocations: 50.72 MB / 457.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02019/0.2754, allocations: 17.58 MB / 474.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.2788, allocations: 2.436 MB / 477.3 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.2789, allocations: 1.031 kB / 477.3 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.2801, allocations: 432.3 kB / 477.7 MB, free: 2.699 MB / 334.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.008844/0.289, allocations: 3.234 MB / 481 MB, free: 168 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.437e-05/0.289, allocations: 11.92 kB / 481 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.2893, allocations: 195 kB / 481.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.2893, allocations: 5.562 kB / 481.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.2895, allocations: 95.52 kB / 481.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2896, allocations: 55.72 kB / 481.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2897, allocations: 4 kB / 481.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.2998, allocations: 6.476 MB / 487.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.2998, allocations: 23.84 kB / 487.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2999, allocations: 59.67 kB / 487.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005985/0.3059, allocations: 2.802 MB / 490.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3059, allocations: 4 kB / 490.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3059, allocations: 0 / 490.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3059, allocations: 0 / 490.7 MB, free: 6.422 MB / 350.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.001883/0.3078, allocations: 0.6824 MB / 491.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3078, allocations: 12.03 kB / 491.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.826e-05/0.3079, allocations: 4 kB / 491.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.3079, allocations: 46.55 kB / 491.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.3081, allocations: 39.88 kB / 491.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.3083, allocations: 182.8 kB / 491.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3083, allocations: 4 kB / 491.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3083, allocations: 4 kB / 491.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.3087, allocations: 159.3 kB / 491.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3087, allocations: 3.938 kB / 491.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3087, allocations: 4 kB / 491.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.3087, allocations: 3.984 kB / 491.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.3092, allocations: 204.1 kB / 492 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.3095, allocations: 270.5 kB / 492.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.3098, allocations: 138.8 kB / 492.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.3101, allocations: 133.1 kB / 492.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02102/0.3311, allocations: 10.94 MB / 0.4917 GB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3311, allocations: 34.56 kB / 0.4917 GB, free: 7.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.395e-06/0.3311, allocations: 0 / 0.4917 GB, free: 7.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009777/0.3321, allocations: 464.3 kB / 0.4922 GB, free: 7.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3321, allocations: 55.34 kB / 0.4922 GB, free: 7.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3323, allocations: 141.3 kB / 0.4923 GB, free: 6.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3323, allocations: 25.7 kB / 0.4924 GB, free: 6.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.3324, allocations: 84.8 kB / 0.4924 GB, free: 6.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3325, allocations: 115 kB / 0.4926 GB, free: 6.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.3325, allocations: 33.7 kB / 0.4926 GB, free: 6.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3327, allocations: 326.8 kB / 0.4929 GB, free: 6.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.3329, allocations: 119.9 kB / 0.493 GB, free: 6.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.3331, allocations: 115.9 kB / 0.4931 GB, free: 6.098 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.3336, allocations: 307.5 kB / 0.4934 GB, free: 5.797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3336, allocations: 3.938 kB / 0.4934 GB, free: 5.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000575/0.3342, allocations: 331.3 kB / 0.4937 GB, free: 5.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3342, allocations: 8 kB / 0.4937 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3342, allocations: 0 / 0.4937 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3343, allocations: 0 / 0.4937 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3344, allocations: 15.98 kB / 0.4938 GB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3344, allocations: 8.156 kB / 0.4938 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3345, allocations: 23.83 kB / 0.4938 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3346, allocations: 15.98 kB / 0.4938 GB, free: 5.391 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 0.0001064/0.3347, allocations: 113.8 kB / 0.4939 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.3347, allocations: 11.91 kB / 0.4939 GB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006615/0.3353, allocations: 368.7 kB / 0.4943 GB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3354, allocations: 3.984 kB / 0.4943 GB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3354, allocations: 7.938 kB / 0.4943 GB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3354, allocations: 7.938 kB / 0.4943 GB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.3356, allocations: 270 kB / 0.4946 GB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3356, allocations: 0 / 0.4946 GB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3357, allocations: 15.98 kB / 0.4946 GB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3357, allocations: 0 / 0.4946 GB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3357, allocations: 8 kB / 0.4946 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3357, allocations: 0 / 0.4946 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3358, allocations: 3.938 kB / 0.4946 GB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.3363, allocations: 374.6 kB / 0.4949 GB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.3364, allocations: 104.9 kB / 0.495 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3364, allocations: 0 / 0.495 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3365, allocations: 15.98 kB / 0.4951 GB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3366, allocations: 15.92 kB / 0.4951 GB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.3366, allocations: 0 / 0.4951 GB, free: 3.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.3367, allocations: 99.27 kB / 0.4952 GB, free: 3.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3367, allocations: 0 / 0.4952 GB, free: 3.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00137/0.338, allocations: 498.6 kB / 0.4956 GB, free: 3.402 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.003192/0.3412, allocations: 1.534 MB / 0.4971 GB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.3418, allocations: 259.8 kB / 0.4974 GB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3418, allocations: 0 / 0.4974 GB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.3421, allocations: 127.9 kB / 0.4975 GB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.3425, allocations: 77.73 kB / 0.4976 GB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.3457, allocations: 2.387 MB / 0.4999 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.3461, allocations: 0.7162 MB / 0.5006 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.035e-05/0.3462, allocations: 23.97 kB / 0.5006 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.3463, allocations: 39.42 kB / 0.5007 GB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3463, allocations: 0 / 0.5007 GB, free: 14.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04977/0.396, allocations: 22.72 MB / 0.5229 GB, free: 7.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.703/9.099, allocations: 15.88 kB / 0.5229 GB, free: 7.367 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.310722068010364] Failed to read output from testmodel.py, exit status != 0: 9.23351242596982 9.247422471 8.938599557 Calling exit ...