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.0008333/0.0008333, 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.0008728/0.0008728, 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.8799/0.8799, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02847/0.02847, allocations: 7.517 MB / 266.7 MB, free: 6.195 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(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: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 391.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.366e-05, allocations: 9.172 kB / 391.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.0135/0.01352, allocations: 15.93 MB / 407.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.01552, allocations: 2.204 MB / 409.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.01558, allocations: 0 / 409.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.01625, allocations: 335.7 kB / 410.2 MB, free: 3.809 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004668/0.02092, allocations: 3.255 MB / 413.5 MB, free: 0.543 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.566e-05/0.02095, allocations: 11.98 kB / 413.5 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.02112, allocations: 206.9 kB / 413.7 MB, free: 336 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.02116, allocations: 13.78 kB / 413.7 MB, free: 320 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.02133, allocations: 119.6 kB / 413.8 MB, free: 200 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.02139, allocations: 47.83 kB / 413.9 MB, free: 152 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.0214, allocations: 4 kB / 413.9 MB, free: 148 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.0258, allocations: 4.389 MB / 418.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.02582, allocations: 23.91 kB / 418.3 MB, free: 11.72 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.02588, allocations: 35.88 kB / 418.3 MB, free: 11.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.02886, allocations: 2.611 MB / 420.9 MB, free: 9.066 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.02887, allocations: 0 / 420.9 MB, free: 9.066 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.02887, allocations: 0 / 420.9 MB, free: 9.066 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.02887, allocations: 0 / 420.9 MB, free: 9.066 MB / 394.7 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.0008746/0.02975, allocations: 0.6006 MB / 421.5 MB, free: 8.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.02978, allocations: 12.62 kB / 421.5 MB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.02981, allocations: 38.55 kB / 421.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.0299, allocations: 31.89 kB / 421.6 MB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.03, allocations: 144.9 kB / 421.7 MB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.03001, allocations: 0 / 421.7 MB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.03002, allocations: 4 kB / 421.7 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.03022, allocations: 178.9 kB / 421.9 MB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.03023, allocations: 0 / 421.9 MB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.03024, allocations: 0 / 421.9 MB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.03024, allocations: 4 kB / 421.9 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.03046, allocations: 204.1 kB / 422.1 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.03064, allocations: 241.7 kB / 422.4 MB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.0308, allocations: 150.8 kB / 422.5 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.03093, allocations: 137.1 kB / 422.6 MB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007942/0.03887, allocations: 3.641 MB / 426.3 MB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.03889, allocations: 38.5 kB / 426.3 MB, free: 3.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.182e-06/0.03889, allocations: 0 / 426.3 MB, free: 3.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005254/0.03942, allocations: 469.6 kB / 426.8 MB, free: 3.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.03945, allocations: 51.41 kB / 426.8 MB, free: 2.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.03953, allocations: 127.4 kB / 426.9 MB, free: 2.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.03954, allocations: 29.7 kB / 427 MB, free: 2.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.03957, allocations: 92.78 kB / 427.1 MB, free: 2.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.03964, allocations: 115 kB / 427.2 MB, free: 2.621 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.03967, allocations: 29.7 kB / 427.2 MB, free: 2.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.03975, allocations: 330.8 kB / 427.5 MB, free: 2.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.03988, allocations: 127.9 kB / 427.7 MB, free: 2.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.04, allocations: 123.9 kB / 427.8 MB, free: 2.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.04026, allocations: 319.8 kB / 428.1 MB, free: 1.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.04027, allocations: 0 / 428.1 MB, free: 1.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003083/0.04057, allocations: 347.6 kB / 428.4 MB, free: 1.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.04059, allocations: 4 kB / 428.4 MB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.04059, allocations: 0 / 428.4 MB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.04061, allocations: 4 kB / 428.4 MB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.04068, allocations: 19.97 kB / 428.5 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.04068, allocations: 0 / 428.5 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.04074, allocations: 23.83 kB / 428.5 MB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.04075, allocations: 8 kB / 428.5 MB, free: 1.289 MB / 394.7 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 6.929e-05/0.04082, allocations: 125.7 kB / 428.6 MB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.04083, allocations: 11.91 kB / 428.6 MB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.04119, allocations: 377.1 kB / 429 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.0412, allocations: 7.984 kB / 429 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.0412, allocations: 0 / 429 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.0412, allocations: 4 kB / 429 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.04134, allocations: 241.1 kB / 429.2 MB, free: 492 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.04134, allocations: 0 / 429.2 MB, free: 492 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.04139, allocations: 19.97 kB / 429.3 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.04139, allocations: 4 kB / 429.3 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.0414, allocations: 7.938 kB / 429.3 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.0414, allocations: 0 / 429.3 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0414, allocations: 3.938 kB / 429.3 MB, free: 456 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.04171, allocations: 387 kB / 429.7 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.04174, allocations: 23.77 kB / 429.7 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.04175, allocations: 4 kB / 429.7 MB, free: 20 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.0418, allocations: 15.97 kB / 429.7 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.04184, allocations: 4 kB / 429.7 MB, free: 0 / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.04185, allocations: 8.125 kB / 429.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.04189, allocations: 103.2 kB / 429.8 MB, free: 15.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04189, allocations: 0 / 429.8 MB, free: 15.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007069/0.0426, allocations: 0.4907 MB / 430.3 MB, free: 15.4 MB / 410.7 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.001945/0.04454, allocations: 1.581 MB / 431.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.04486, allocations: 280.1 kB / 432.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.04486, allocations: 0 / 432.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.04499, allocations: 139.9 kB / 432.3 MB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.04528, allocations: 65.02 kB / 432.4 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.04718, allocations: 2.434 MB / 434.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.918e-05/0.04724, allocations: 102.3 kB / 434.9 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.621e-05/0.04731, allocations: 27.95 kB / 434.9 MB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.04736, allocations: 44.42 kB / 435 MB, free: 10.61 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.04736, allocations: 0 / 435 MB, free: 10.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1668/0.2142, allocations: 23.7 MB / 458.7 MB, free: 82.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.466, allocations: 5.531 kB / 458.7 MB, free: 82.46 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.633603318594396] Failed to read output from testmodel.py, exit status != 0: 7.558842940256 7.565806473 7.535315721 Calling exit ...