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.001788/0.001788, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002357/0.002357, allocations: 211.8 kB / 22.25 MB, free: 5.121 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.442/1.442, allocations: 207.6 MB / 233 MB, free: 9.973 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.05254/0.05254, allocations: 9.163 MB / 294.4 MB, free: 12.69 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop",fmuType="me",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.002224/0.002224, allocations: 72.3 kB / 411.1 MB, free: 46.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07002/0.07225, allocations: 50.76 MB / 461.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02233/0.09458, allocations: 17.62 MB / 479.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.09798, allocations: 2.438 MB / 481.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.09806, allocations: 0 / 481.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.09909, allocations: 423.4 kB / 482.3 MB, free: 8.156 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.007721/0.1068, allocations: 3.302 MB / 485.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.179e-05/0.1069, allocations: 11.98 kB / 485.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.1071, allocations: 198.9 kB / 485.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.1072, allocations: 9.734 kB / 485.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.1074, allocations: 91.58 kB / 485.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1076, allocations: 63.66 kB / 486 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1076, allocations: 4 kB / 486 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/0.1193, allocations: 6.796 MB / 492.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.1193, allocations: 11.88 kB / 492.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1195, allocations: 63.66 kB / 492.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006543/0.126, allocations: 2.81 MB / 495.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.126, allocations: 0 / 495.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.126, allocations: 0 / 495.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.126, allocations: 0 / 495.7 MB, free: 10.78 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.001935/0.128, allocations: 0.6201 MB / 496.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.128, allocations: 11.98 kB / 496.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.1281, allocations: 46.48 kB / 496.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.1282, allocations: 35.89 kB / 496.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.1284, allocations: 136.9 kB / 496.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1284, allocations: 4 kB / 496.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.1284, allocations: 7.938 kB / 496.5 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.1288, allocations: 158.5 kB / 496.7 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1288, allocations: 0 / 496.7 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1288, allocations: 7.984 kB / 496.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1288, allocations: 0 / 496.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.1292, allocations: 200.2 kB / 496.9 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.1296, allocations: 253.6 kB / 497.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.1299, allocations: 146.8 kB / 497.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.1302, allocations: 141 kB / 497.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01804/0.1482, allocations: 3.629 MB / 0.4893 GB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.1483, allocations: 38.56 kB / 0.4893 GB, free: 5.223 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.675e-06/0.1483, allocations: 0 / 0.4893 GB, free: 5.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009579/0.1492, allocations: 468.7 kB / 0.4898 GB, free: 4.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1493, allocations: 51.41 kB / 0.4898 GB, free: 4.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1494, allocations: 140.6 kB / 0.4899 GB, free: 4.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1494, allocations: 29.7 kB / 0.49 GB, free: 4.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.1495, allocations: 88.8 kB / 0.4901 GB, free: 4.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1496, allocations: 115 kB / 0.4902 GB, free: 4.316 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.1496, allocations: 25.7 kB / 0.4902 GB, free: 4.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1498, allocations: 330.8 kB / 0.4905 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.15, allocations: 127.9 kB / 0.4906 GB, free: 3.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.1503, allocations: 132.8 kB / 0.4908 GB, free: 3.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.1508, allocations: 311.9 kB / 0.4911 GB, free: 3.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1508, allocations: 0 / 0.4911 GB, free: 3.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000575/0.1514, allocations: 351.6 kB / 0.4914 GB, free: 3.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1514, allocations: 4 kB / 0.4914 GB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1514, allocations: 0 / 0.4914 GB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1514, allocations: 0 / 0.4914 GB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1515, allocations: 23.91 kB / 0.4914 GB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.1515, allocations: 8.172 kB / 0.4914 GB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1517, allocations: 23.83 kB / 0.4914 GB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1517, allocations: 4 kB / 0.4915 GB, free: 2.977 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.0001035/0.1518, allocations: 117.8 kB / 0.4916 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.1518, allocations: 15.91 kB / 0.4916 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006585/0.1525, allocations: 381.1 kB / 0.4919 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.1525, allocations: 11.92 kB / 0.492 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1525, allocations: 7.938 kB / 0.492 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1525, allocations: 0 / 0.492 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.1527, allocations: 249.1 kB / 0.4922 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1527, allocations: 0 / 0.4922 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1528, allocations: 19.92 kB / 0.4922 GB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1528, allocations: 7.938 kB / 0.4922 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1529, allocations: 0 / 0.4922 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1529, allocations: 0 / 0.4922 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1529, allocations: 3.938 kB / 0.4922 GB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.1535, allocations: 387 kB / 0.4926 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.1535, allocations: 23.84 kB / 0.4926 GB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1535, allocations: 3.984 kB / 0.4926 GB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1537, allocations: 15.98 kB / 0.4926 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1537, allocations: 15.91 kB / 0.4927 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1537, allocations: 4 kB / 0.4927 GB, free: 1.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.13e-05/0.1538, allocations: 99.27 kB / 0.4928 GB, free: 1.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1538, allocations: 0 / 0.4928 GB, free: 1.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001215/0.155, allocations: 498.5 kB / 0.4932 GB, free: 1.07 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.003391/0.1584, allocations: 1.537 MB / 0.4947 GB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.159, allocations: 271.8 kB / 0.495 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.159, allocations: 0 / 0.495 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.1592, allocations: 131.9 kB / 0.4951 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.1598, allocations: 80.33 kB / 0.4952 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.1632, allocations: 2.423 MB / 0.4976 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.1636, allocations: 0.7201 MB / 0.4983 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1637, allocations: 23.97 kB / 0.4983 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.1638, allocations: 39.42 kB / 0.4983 GB, free: 11.72 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1638, allocations: 0 / 0.4983 GB, free: 11.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/0.2257, allocations: 22.97 MB / 0.5208 GB, free: 4.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.2, allocations: 10.86 kB / 0.5208 GB, free: 4.758 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 sys.exit(0), Time elapsed: 15.575027853948995] Failed to read output from testmodel.py, exit status != 0: 12.319392289966345 12.516048758 12.387174216 Calling exit ...