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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001672/0.001672, allocations: 187.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04576/0.04576, allocations: 9.088 MB / 278.5 MB, free: 12.31 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 67.89 kB / 337.6 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07947, allocations: 48.16 MB / 385.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02131/0.1008, allocations: 17.51 MB / 403.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.1041, allocations: 2.446 MB / 405.7 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1042, allocations: 0 / 405.7 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.1055, allocations: 363.6 kB / 406.1 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009505/0.115, allocations: 2.848 MB / 408.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.208e-05/0.1151, allocations: 8 kB / 408.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.1154, allocations: 195 kB / 409.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.1155, allocations: 13.55 kB / 409.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.1157, allocations: 95.52 kB / 409.2 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1158, allocations: 63.7 kB / 409.3 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1159, allocations: 7.938 kB / 409.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01082/0.1267, allocations: 6.312 MB / 415.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.1268, allocations: 7.938 kB / 415.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.127, allocations: 63.67 kB / 415.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006056/0.1331, allocations: 2.799 MB / 418.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1331, allocations: 0 / 418.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.908e-06/0.1331, allocations: 0 / 418.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1331, allocations: 3.938 kB / 418.5 MB, free: 8.641 MB / 318.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.001696/0.1348, allocations: 0.6665 MB / 419.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.1349, allocations: 8.031 kB / 419.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.135, allocations: 50.48 kB / 419.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1351, allocations: 31.8 kB / 419.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1353, allocations: 194.6 kB / 419.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1354, allocations: 8 kB / 419.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1354, allocations: 0 / 419.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.1357, allocations: 166.4 kB / 419.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1357, allocations: 0 / 419.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1357, allocations: 0 / 419.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1358, allocations: 4 kB / 419.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.1362, allocations: 192.2 kB / 419.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.1364, allocations: 270.5 kB / 420.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.1367, allocations: 174.8 kB / 420.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.137, allocations: 165.9 kB / 420.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1603/0.2973, allocations: 10.94 MB / 431.3 MB, free: 42.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2974, allocations: 33.91 kB / 431.4 MB, free: 42.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.285e-06/0.2974, allocations: 0 / 431.4 MB, free: 42.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008741/0.2983, allocations: 460.8 kB / 431.8 MB, free: 42.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.2983, allocations: 54.14 kB / 431.9 MB, free: 42.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2984, allocations: 129.4 kB / 432 MB, free: 42.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2985, allocations: 29.86 kB / 432 MB, free: 42.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.2985, allocations: 89.45 kB / 432.1 MB, free: 42.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.2986, allocations: 105.6 kB / 432.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.2986, allocations: 34.83 kB / 432.3 MB, free: 42.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.2987, allocations: 325.6 kB / 432.6 MB, free: 42.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.2989, allocations: 119.9 kB / 432.7 MB, free: 42.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.2992, allocations: 120.3 kB / 432.8 MB, free: 42.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.2996, allocations: 298.7 kB / 433.1 MB, free: 42.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2996, allocations: 0 / 433.1 MB, free: 42.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005125/0.3002, allocations: 338.4 kB / 433.4 MB, free: 41.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3002, allocations: 6.172 kB / 433.4 MB, free: 41.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3002, allocations: 0 / 433.4 MB, free: 41.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3002, allocations: 1.062 kB / 433.4 MB, free: 41.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3004, allocations: 22.28 kB / 433.5 MB, free: 41.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3004, allocations: 1.688 kB / 433.5 MB, free: 41.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3005, allocations: 35.05 kB / 433.5 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3005, allocations: 2.25 kB / 433.5 MB, free: 41.89 MB / 318.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 7.529e-05/0.3006, allocations: 123.9 kB / 433.6 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3006, allocations: 12.16 kB / 433.6 MB, free: 41.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005816/0.3012, allocations: 373.3 kB / 434 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3012, allocations: 5.5 kB / 434 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3012, allocations: 0 / 434 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3013, allocations: 1.156 kB / 434 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.3014, allocations: 264.4 kB / 434.3 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3015, allocations: 0 / 434.3 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3016, allocations: 22.58 kB / 434.3 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3016, allocations: 6.828 kB / 434.3 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3016, allocations: 1.688 kB / 434.3 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3016, allocations: 3.938 kB / 434.3 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3016, allocations: 0 / 434.3 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.3021, allocations: 373.1 kB / 434.7 MB, free: 41.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.3022, allocations: 103.8 kB / 434.8 MB, free: 41.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.3022, allocations: 0 / 434.8 MB, free: 41.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3023, allocations: 15.28 kB / 434.8 MB, free: 41.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.3024, allocations: 9.5 kB / 434.8 MB, free: 41.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.3024, allocations: 2.906 kB / 434.8 MB, free: 41.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.671e-05/0.3025, allocations: 98.75 kB / 434.9 MB, free: 40.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3025, allocations: 0 / 434.9 MB, free: 40.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001359/0.3038, allocations: 493.8 kB / 435.4 MB, free: 40.93 MB / 318.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.003462/0.3073, allocations: 1.522 MB / 436.9 MB, free: 40.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.3079, allocations: 302.9 kB / 437.2 MB, free: 40 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3079, allocations: 4 kB / 437.2 MB, free: 40 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.3081, allocations: 161.5 kB / 437.3 MB, free: 39.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.3086, allocations: 69.84 kB / 437.4 MB, free: 39.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.3117, allocations: 2.401 MB / 439.8 MB, free: 38.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3119, allocations: 0.7206 MB / 440.5 MB, free: 37.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.312, allocations: 25.55 kB / 440.6 MB, free: 37.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.3121, allocations: 41.67 kB / 440.6 MB, free: 37.48 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3121, allocations: 0 / 440.6 MB, free: 37.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.3509, allocations: 22.47 MB / 463.1 MB, free: 19.33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/0.351, allocations: 198.2 kB / 463.3 MB, free: 19.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/3.056, allocations: 0 / 463.3 MB, free: 19.07 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1)