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.001313/0.001313, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002073/0.002073, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.04966/0.04966, allocations: 9.138 MB / 321.6 MB, free: 10.2 MB / 254.1 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 0.00197/0.00197, allocations: 67.89 kB / 446.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1063, allocations: 54.94 MB / 0.4897 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02055/0.1269, allocations: 15.95 MB / 0.5053 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.1301, allocations: 2.208 MB / 0.5074 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.701e-05/0.1302, allocations: 0 / 0.5074 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.1312, allocations: 327.8 kB / 0.5078 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007765/0.1389, allocations: 3.231 MB / 0.5109 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.444e-05/0.139, allocations: 7.984 kB / 0.5109 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1393, allocations: 191 kB / 0.5111 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.1393, allocations: 9.75 kB / 0.5111 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.1396, allocations: 99.5 kB / 0.5112 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1397, allocations: 55.72 kB / 0.5113 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1397, allocations: 4 kB / 0.5113 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2144/0.3541, allocations: 4.364 MB / 0.5155 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.3542, allocations: 20.19 kB / 0.5155 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3543, allocations: 49.73 kB / 0.5156 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00569/0.36, allocations: 2.218 MB / 0.5178 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.36, allocations: 3 kB / 0.5178 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.36, allocations: 0.5625 kB / 0.5178 GB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.36, allocations: 0.8125 kB / 0.5178 GB, free: 11.03 MB / 382.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.001513/0.3615, allocations: 0.6094 MB / 0.5184 GB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3615, allocations: 13.77 kB / 0.5184 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.3616, allocations: 45.41 kB / 0.5184 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3617, allocations: 29.48 kB / 0.5184 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/0.3618, allocations: 131 kB / 0.5186 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3618, allocations: 3.906 kB / 0.5186 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3618, allocations: 0 / 0.5186 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.3621, allocations: 173.8 kB / 0.5187 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.3621, allocations: 0 / 0.5187 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3621, allocations: 3.938 kB / 0.5187 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3621, allocations: 5.75 kB / 0.5187 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.3625, allocations: 198.3 kB / 0.5189 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.3627, allocations: 242.5 kB / 0.5192 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.363, allocations: 155.3 kB / 0.5193 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.3632, allocations: 136.5 kB / 0.5194 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01663/0.3798, allocations: 3.632 MB / 0.523 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.3799, allocations: 32.95 kB / 0.523 GB, free: 10.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/0.3799, allocations: 6.625 kB / 0.523 GB, free: 10.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001029/0.3809, allocations: 479.5 kB / 0.5235 GB, free: 10.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3809, allocations: 51.41 kB / 0.5235 GB, free: 9.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.3811, allocations: 127.5 kB / 0.5237 GB, free: 9.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3811, allocations: 26.86 kB / 0.5237 GB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.3811, allocations: 91.69 kB / 0.5238 GB, free: 9.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3812, allocations: 116.8 kB / 0.5239 GB, free: 9.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.3813, allocations: 37.08 kB / 0.5239 GB, free: 9.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.3814, allocations: 328.1 kB / 0.5242 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.3816, allocations: 121.1 kB / 0.5243 GB, free: 9.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.3819, allocations: 122.2 kB / 0.5245 GB, free: 9.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.3824, allocations: 319 kB / 0.5248 GB, free: 9.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3824, allocations: 0 / 0.5248 GB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00057/0.3829, allocations: 348.5 kB / 0.5251 GB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.383, allocations: 10.05 kB / 0.5251 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.383, allocations: 0 / 0.5251 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.383, allocations: 0 / 0.5251 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3831, allocations: 23.97 kB / 0.5251 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3831, allocations: 0 / 0.5251 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3833, allocations: 24.44 kB / 0.5251 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3833, allocations: 5.234 kB / 0.5252 GB, free: 9.195 MB / 382.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 8.024e-05/0.3834, allocations: 114.2 kB / 0.5253 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3834, allocations: 16.94 kB / 0.5253 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006706/0.3841, allocations: 396.9 kB / 0.5257 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.3841, allocations: 5.094 kB / 0.5257 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3841, allocations: 0 / 0.5257 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3841, allocations: 0.8906 kB / 0.5257 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.3843, allocations: 228.5 kB / 0.5259 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3843, allocations: 0 / 0.5259 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3844, allocations: 21.55 kB / 0.5259 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3844, allocations: 5.469 kB / 0.5259 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3844, allocations: 4.656 kB / 0.5259 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3844, allocations: 1.562 kB / 0.5259 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3844, allocations: 0.8906 kB / 0.5259 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.385, allocations: 388 kB / 0.5263 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.3851, allocations: 33.08 kB / 0.5263 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3851, allocations: 5.281 kB / 0.5263 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3852, allocations: 17.95 kB / 0.5263 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.3853, allocations: 10.67 kB / 0.5263 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3853, allocations: 1.75 kB / 0.5263 GB, free: 8.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.932e-05/0.3854, allocations: 103 kB / 0.5264 GB, free: 8.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3854, allocations: 0 / 0.5264 GB, free: 8.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002412/0.3878, allocations: 494.3 kB / 0.5269 GB, free: 8.52 MB / 382.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.004917/0.3927, allocations: 1.538 MB / 0.5284 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006103/0.3933, allocations: 281.9 kB / 0.5287 GB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3933, allocations: 1.281 kB / 0.5287 GB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.3936, allocations: 136.8 kB / 0.5288 GB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.3941, allocations: 72.89 kB / 0.5289 GB, free: 7.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.3982, allocations: 2.432 MB / 0.5313 GB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.509e-05/0.3982, allocations: 105.6 kB / 0.5314 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.3984, allocations: 25.23 kB / 0.5314 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.3984, allocations: 35.11 kB / 0.5314 GB, free: 6.344 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3984, allocations: 0 / 0.5314 GB, free: 6.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05884/0.4573, allocations: 23.54 MB / 0.5544 GB, free: 10.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.89, allocations: 14.41 kB / 0.5544 GB, free: 10.36 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: 14.943354215007275] Failed to read output from testmodel.py, exit status != 0: 12.01188320480287 12.028771402 11.665501946000001 Calling exit ...